← Back to team overview

dhis2-devs team mailing list archive

Re: "All" authority no longer granting access to programs?

 

Perhaps it was just an oversight in the code, forgetting to check for the
"ALL" authority in addition to the particular authority?

I would certainly expect "ALL" to grant the same access as all authorities.
It would surprise me if there is any good rationale to make it otherwise.


On Thu, Apr 7, 2016 at 11:19 PM, Morten Olav Hansen <morten@xxxxxxxxx>
wrote:

> Yes, that is correct. I'm not sure when it was decided so, but you need to
> give the userrole access to that program.
>
> Maybe Abyot remember exactly why?
>
> --
> Morten Olav Hansen
> Senior Engineer, DHIS 2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Apr 8, 2016 at 9:51 AM, Timothy Harding <tharding@xxxxxxxxxxxxxx>
> wrote:
>
>> Hey devs,
>>
>> Just wanting to make sure of this: It looks like in version 2.21 and
>> beyond, the "ALL" authority no longer gives the super user access to
>> *everything* (about the same time programs were given their own entry in
>> the roles). This means when that user makes a new (public) program, they
>> need to also add that program to their superuser role. Is this intended? *Will
>> datasets eventually act this way as well*? If not, why the discrepancy?
>>
>> Steps to reproduce
>> 1. Create blank database in 2.21 or 2.22 (or use the SL demo)
>> 2. Add root ou/set level
>> 3. Add single tracker data element and single aggregate data element
>> 4. Create a program (SENR) and a dataset to use the above respectively
>>     - In the program's single stage, specify the tracker element above
>> 5. Assign both the program and the dataset to the root ou
>> 6. Notice that the dataset will show up in the "Data Entry App" and the
>> program will NOT show up in the event viewer.
>>
>>
>> *Timothy Harding*
>> Sr. Systems Analyst, BAO Systems
>> +1 202-536-1541 | tharding@xxxxxxxxxxxxxx | http://www.baosystems.com | Skype:
>> hardingt@xxxxxxxxx | 2900 K Street, Suite 404, Washington D.C. 20007
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-devs
>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-devs
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jim Grace
Core developer, DHIS 2
HISP US Inc.
http://www.dhis2.org <https://www.dhis2.org/>

PNG image


Follow ups

References