← Back to team overview

dhis2-devs team mailing list archive

Re: Should we make user assignement to more than one orgunit impossible?

 

Personally, I think it should be a data integrity check, but even then I am
not sure.

The way that it it is now,  users which are assigned to a parent unit,
should not be assigned to children. That makes no sense whatsoever, because
of the inheritance of children from parents.

Personally, I think that the inheritance of children should be an explicit
permission for user roles in fact, so that a user might report on an OU4
unit, and two OU5 units, but not all OU5 units under the OU4 level to which
they are assigned. I think this actually reflects the real use cases better
, than assuming that a user will automatically inherit all children of a
given parent.

Regards,
Jason
o


On Wed, Jun 12, 2013 at 4:46 PM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Thanks Thuy and Jason, I understand there are use cases. But maybe a
> friendly warning would be helpful?
> Den 12. juni 2013 15:30 skrev "Thuy Nguyen" <thuy.hispvietnam@xxxxxxxxx>
> følgende:
>
> Dear Knut,
>>
>> I saw case that we need users assigned to more than 1 organisation unit
>> in Vietnam especially in Quang Ninh province.
>> User of a district will have responsibility to enter data for province
>> hospital which located on their district. But in the report they don't
>> include this province hospital into their district report. This mean the
>> province hospital is child org unit of province.
>> So I assign the district user to district and this province hospital.
>>
>> However if you have better practice for this case please tell me.
>>
>> *
>> -------------------------------------------------------------------------------------------------
>> *
>> *Nguyễn Trần Đỗ Xuân Thủy*
>> *Phụ trách Đào tạo và Hỗ trợ sử dụng
>> *
>> *Trung tâm Phát Triển Hệ Thống Thông Tin Y Tế (HISP Vietnam)*
>> *Địa chỉ : số 957 Ba Tháng Hai, phường 7, Quận 11, Tp Hồ Chí Minh*
>> *Điện thoại : 0839560150*
>> *Điện thoại di động : 0902079126*
>> *Email : thuy.hispvietnam@xxxxxxxxx*
>>
>>
>> On Wed, Jun 12, 2013 at 9:22 PM, Knut Staring <knutst@xxxxxxxxx> wrote:
>>
>>> Hi team,
>>>
>>> I've seen again and again that problems surface when a user has been
>>> assigned to more than one orgunit. I suppose we are promoting selecting
>>> just one orgunit as best practice, but shouldn't the system just rather
>>> enforce this rule?
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> +4791880522
>>> http://dhis2.org
>>>
>>> _______________________________________________
>>> 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
>
>

Follow ups

References