← Back to team overview

dhis2-devs team mailing list archive

Bug: Sharing Settings Reset on Update for Category Combinations Only

 

Hello Devs,

Verified on the SL Demo Server

Saw some peculiar activity when a user updated a private category
combination that had been shared with them "can edit and view". It cleared
out all the sharing settings and left the element as private so only the
original creator or superuser could find it.

This sharing reset behavior seems only to affect the category combination,
updates to categories will retain their prior sharing settings.

Steps to reproduce:

1. As Admin: Create user role with the following:

   - Add/Update Private Data Element Category Combo
   - See Dashboard integration module
   - See Data Elements and Indicators Maintenance module

2. Create a user group
3. Create a new user with the role from step 1 and the group from step 2
4. Create a category combination
5. Make CatCombo private and share read/write with the group from step 2
6. Log in as user from step 3, and make any edit to the catcombo. The
sharing settings will be removed and the element will be private.

Before Step 6:
[image: Inline image 1]

After Step 6:
[image: Inline image 2]


*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

PNG image

PNG image

PNG image


Follow ups