← Back to team overview

dhis2-users team mailing list archive

Re: Charts/its data source not displayed correctly with another user

 

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

> 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
>
>

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 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@xxxxxxxxxxxx>
> 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@xxxxxxxxxxxxxxxxxxx
>> 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
> <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@xxxxxxxxxxxx
>
> *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>

PNG image

PNG image

PNG image

PNG image


References