Charts/its data source not displayed correctly with another user

Dear all

Below are two data visualizations which should display the same

(same favorite), but are not. The red-only-chart is presented to a
view-only “guest user”, whereby the all-colors-chart is presented to
the system administrator.

If I change the user role authorities of the guest user to ALL, it's

displayed correctly. The red-only-chart includes only one part of
the data.

The third image shows the "guest" user role with its authorities.

Is this a bug, if not, what could be the configuration error?

Checked it with Firefox, Chrome and Opera.

Version: 2.20
Build revision: 19818
Java version: 1.7.0_79Thanks for your help.

<img src="cid:part1.05020604.07030906@swisstph.org" alt="" height="274" width="997">

<img src="cid:part2.09020304.08030704@swisstph.org" alt="" height="275" width="999">

<img src="cid:part3.00040108.05000901@swisstph.org" alt="" height="394" width="778">

Hi David,

could you please go to data elements app, find the ones that are not visible, click “Sharing settings” and check that they have “public access - can edit and view”, or if not, that they are shared with that limited user?

If that is not the problem, are you able to share a temporary login to your system with me privately so that I can have a look?

regards,

Lars

image

image

image

image

···

On Thu, Sep 24, 2015 at 2:26 PM, David Huser david.huser@swisstph.org wrote:

Dear all

Below are two data visualizations which should display the same (same favorite), but are not. The red-only-chart is presented to a view-only "guest user", whereby the all-colors-chart is presented to the system administrator.

If I change the user role authorities of the guest user to ALL, it's displayed correctly. The red-only-chart includes only one part of the data.

The third image shows the "guest" user role with its authorities.



Is this a bug, if not, what could be the configuration error?

Checked it with Firefox, Chrome and Opera.

Version: 2.20
Build revision: 19818
Java version: 1.7.0_79Thanks for your help.


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org

Hi Lars

This did the trick indeed, they were set to "None". Does setting the public access rights of all data elements to "can edit and view" overwrite the authority of assigned data sets and org units (I have no indicators that should be totally hidden for some users)? In other words, it checks first for public access rights and then if the user role / org unit is assigned to it, right?

Thank you for great support. Where else do you get answer from lead developers in 30 minutes time :-)

David
···

On 24.09.2015 15:03, Lars Helge Øverland wrote:

Hi David,

      could you please go to data elements app, find the ones that are not visible, click "Sharing settings" and check that they have "public access - can edit and view", or if not, that they are shared with that limited user?
      If that is not the problem, are you able to share a temporary login to your system with me privately so that I can have a look?

regards,

Lars

      On Thu, Sep 24, 2015 at 2:26 PM, David Huser <david.huser@swisstph.org>
      wrote:

Dear all

          Below are two data visualizations which should display the same (same favorite), but are not. The red-only-chart is presented to a view-only "guest user", whereby the all-colors-chart is presented to the system administrator.

          If I change the user role authorities of the guest user to ALL, it's displayed correctly. The red-only-chart includes only one part of the data.

          The third image shows the "guest" user role with its authorities.



          Is this a bug, if not, what could be the configuration error?

          Checked it with Firefox, Chrome and Opera.

Version: 2.20
Build revision: 19818
Java version: 1.7.0_79Thanks for your help.

        _______________________________________________

        Mailing list: [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        Post to     : dhis2-users@lists.launchpad.net

        Unsubscribe : [https://launchpad.net/~dhis2-users](https://launchpad.net/%7Edhis2-users)

        More help   : [https://help.launchpad.net/ListHelp](https://help.launchpad.net/ListHelp)


Lars Helge Øverland

                                          Lead developer, DHIS 2
                                          University of Oslo
                                            Skype: larshelgeoverland

  <small>
    **David Huser**

    Informatics Specialist

    Swiss Centre for International Health

    Tel: +41 79 740 63 41

    Skype: dafhus

    david.huser@swisstph.org

    **Swiss Tropical and Public Health Institute**

    Socinstrasse 57, P.O. Box

    4002 Basel, Switzerland

    [www.swisstph.ch](www.swisstph.ch)

  </small>

http://www.dhis2.org

Hi Lars

This did the trick indeed, they were set to "None". Does setting the
public access rights of all data elements to "can edit and view" overwrite
the authority of assigned data sets and org units (I have no indicators
that should be totally hidden for some users)? In other words, it checks
first for public access rights and then if the user role / org unit is
assigned to it, right?

Thank you for great support. Where else do you get answer from lead
developers in 30 minutes time :slight_smile:
David

No problem David. Yes we basically have three aspects of access control:

- per action: controlled by user roles and authorities
- within the org unit hierarchy: controlled by user -> org unit association
- per individual object: controlled by sharing

You can read about the sharing solution here:

https://www.dhis2.org/doc/snapshot/en/user/html/ch08.html

regards,

Lars

···

On Thu, Sep 24, 2015 at 3:37 PM, David Huser <david.huser@swisstph.org> wrote:

On 24.09.2015 15:03, Lars Helge Øverland wrote:

Hi David,

could you please go to data elements app, find the ones that are not
visible, click "Sharing settings" and check that they have "public access -
can edit and view", or if not, that they are shared with that limited user?

If that is not the problem, are you able to share a temporary login to
your system with me privately so that I can have a look?

regards,

Lars

[image: Inline image 1]

On Thu, Sep 24, 2015 at 2:26 PM, David Huser <david.huser@swisstph.org> > wrote:

Dear all

Below are two data visualizations which should display the same (same
favorite), but are not. The red-only-chart is presented to a view-only
"guest user", whereby the all-colors-chart is presented to the system
administrator.
If I change the user role authorities of the guest user to ALL, it's
displayed correctly. The red-only-chart includes only one part of the data.
The third image shows the "guest" user role with its authorities.

Is this a bug, if not, what could be the configuration error?
Checked it with Firefox, Chrome and Opera.
Version: 2.20 Build revision: 19818 Java version: 1.7.0_79 Thanks for
your help.

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : ListHelp - Launchpad Help

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
<https://www.dhis2.org>http://www.dhis2.org

--
*David Huser*
Informatics Specialist
Swiss Centre for International Health
Tel: +41 79 740 63 41
Skype: dafhus
david.huser@swisstph.org

*Swiss Tropical and Public Health Institute*
Socinstrasse 57, P.O. Box
4002 Basel, Switzerland
www.swisstph.ch

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org <https://www.dhis2.org>