← Back to team overview

dhis2-devs team mailing list archive

Re: [Bug 1625143] [NEW] The role/authority ‘Search tracked entity in all Org Units’ is not working, and even with this authority, a search will return only tracked entity instances that are registered/enrolled within user's own assigned org units

 

Hi devs, 
any news on this?

Olav


> 19. sep. 2016 kl. 13.49 skrev Sam Johnson <samuel.johnson@xxxxxxxxxx>:
> 
> Public bug reported:
> 
> Hi all,
> 
> The ‘search tracked entity instance in all Org Units’ authority doesn’t
> appear to be working in 2.24 – see section 26.2 of the 2.24 User Guide
> for details of this authority.  (This feature has been documented for
> quite some time now, but I haven’t yet had a chance to check whether or
> not it’s working in earlier versions of DHIS2.)  Even after being given
> a role containing this authority, users do not appear to be able to
> search for tracked entity instances outside of their assigned ‘data
> capture’ Org Units.
> 
> 
> To reproduce this in the 2.24 stable demo:
> 
> 1. While logged in as ‘Admin’, go to ‘Tracker Capture’, select ‘MNCH /
> PNC (Adult Woman)’, and select the Njandama MCHP org unit.
> 
> 2. Type ‘Sarah’ in the search box – it should return a record for Sarah
> Thompson registered at Ngelehun CHC.
> 
> 3. Go to the User app, and update the role ‘MNCH / PNC (Adult Woman) program’ to include the following authorities:
> - Add/update tracked entity data value
> - Add/update tracked entity instance
> - Delete tracked entity data value
> - Delete tracked entity instance
> - Search tracked entity instance
> - Search tracked entity instance in All Org Units
> - See browser cache cleaner module
> - See dashboard integration module
> - See Tracker Capture Module
> 
> 4. Create a new user with just this role, and give it only the Njandama
> MCHP Org Unit.
> 
> 5. Log out and back in again with this new user.
> 
> 6. Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it should
> be the only one showing), and select the ‘MNCH / PNC’ program.
> 
> 7. Type ‘Sarah’ in the search box – no records are returned; click to
> show ‘detailed search’, and only the Njandama Org Unit is showing
> (rather than the wider OU tree mentioned in the documentation), meaning
> this user is not able to search for tracked entity instances
> registered/enrolled at Ngelehun CHC.
> 
> 
> Tested on DHIS2 2.24 stable demo (revision fff20a3); Chrome version 53.0.2785.116 (64-bit); Mac OSX 10.11.6 (15G1004)
> 
> ** Affects: dhis2
>     Importance: Undecided
>         Status: New
> 
> -- 
> You received this bug notification because you are a member of DHIS 2
> developers, which is subscribed to DHIS.
> https://bugs.launchpad.net/bugs/1625143
> 
> Title:
>  The role/authority ‘Search tracked entity in all Org Units’  is not
>  working, and even with this authority, a search will return only
>  tracked entity instances that are registered/enrolled within user's
>  own assigned org units
> 
> Status in DHIS:
>  New
> 
> Bug description:
>  Hi all,
> 
>  The ‘search tracked entity instance in all Org Units’ authority
>  doesn’t appear to be working in 2.24 – see section 26.2 of the 2.24
>  User Guide for details of this authority.  (This feature has been
>  documented for quite some time now, but I haven’t yet had a chance to
>  check whether or not it’s working in earlier versions of DHIS2.)  Even
>  after being given a role containing this authority, users do not
>  appear to be able to search for tracked entity instances outside of
>  their assigned ‘data capture’ Org Units.
> 
> 
>  To reproduce this in the 2.24 stable demo:
> 
>  1. While logged in as ‘Admin’, go to ‘Tracker Capture’, select ‘MNCH /
>  PNC (Adult Woman)’, and select the Njandama MCHP org unit.
> 
>  2. Type ‘Sarah’ in the search box – it should return a record for
>  Sarah Thompson registered at Ngelehun CHC.
> 
>  3. Go to the User app, and update the role ‘MNCH / PNC (Adult Woman) program’ to include the following authorities:
>  - Add/update tracked entity data value
>  - Add/update tracked entity instance
>  - Delete tracked entity data value
>  - Delete tracked entity instance
>  - Search tracked entity instance
>  - Search tracked entity instance in All Org Units
>  - See browser cache cleaner module
>  - See dashboard integration module
>  - See Tracker Capture Module
> 
>  4. Create a new user with just this role, and give it only the
>  Njandama MCHP Org Unit.
> 
>  5. Log out and back in again with this new user.
> 
>  6. Go to ‘Tracker Capture’, select the Njandama MCHP Org Unit (it
>  should be the only one showing), and select the ‘MNCH / PNC’ program.
> 
>  7. Type ‘Sarah’ in the search box – no records are returned; click to
>  show ‘detailed search’, and only the Njandama Org Unit is showing
>  (rather than the wider OU tree mentioned in the documentation),
>  meaning this user is not able to search for tracked entity instances
>  registered/enrolled at Ngelehun CHC.
> 
> 
>  Tested on DHIS2 2.24 stable demo (revision fff20a3); Chrome version 53.0.2785.116 (64-bit); Mac OSX 10.11.6 (15G1004)
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/dhis2/+bug/1625143/+subscriptions
> 
> _______________________________________________
> 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



References