dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #44351
Re: "All" authority no longer granting access to programs?
Thanks Morten, Jim, Abyot,
Abyot:
Is the point of restricting a super user moot though since the super user
has the *ability* to assign themselves to whatever they like? It feels like
an extra step that shouldn't be needed for a superuser.
But, if there is indeed a need for the functionality to be this way, my
follow up questions are still out there: *Will datasets eventually act this
way as well*? If not, why the discrepancy?
*I admit though I am a bit bias having spent more time that I care to admit
to yesterday trying to figure out why my program would not appear in a
vanilla instance.*
*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
On Fri, Apr 8, 2016 at 7:53 AM, Abyot Asalefew Gizaw <abyot@xxxxxxxxx>
wrote:
> Hi,
>
> It was like that before .... I think I changed it because at some point
> there was a discussion saying we have to be careful on granting blanket
> access in tracker.
>
> One could be a superuser, but does this really mean this user will have
> access to clinical data, names and everything implicitly?
>
> By forcing users to explicitly go and assign a program, they know the
> consequence of doing that...
>
> We am open for suggestions and discussions.
>
> --
> Abyot A. Gizaw.
> Senior Engineer, DHIS2
> University of Oslo
> http://www.dhis2.org
>
> On Fri, Apr 8, 2016 at 4:34 PM, Jim Grace <jim@xxxxxxxxx> wrote:
>
>> 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/>
>>
>
>
Follow ups
References