← Back to team overview

dhis2-devs team mailing list archive

Re: Bug: Sharing Settings Reset on Update for Category Combinations Only

 

Hello Devs and good morning/afternoon wherever you might be,

I just checked out version 2.21 on the apps/demo site and found that the
category combination sharing reset bug persists. I've paired down the steps
to reproduce quite a bit so you can check it out for yourself with just a
few taps and clicks:

1. Edit the sharing settings of an existing cat combo by adding a new group.
2. Edit the sharing setting in the traditional sense (I usually add a
letter to the name just for testing)
3. Observe that the sharing settings from step one have been removed.

1. Added Kenya staff
[image: Inline image 1]

2. (I added "test_" to the beginning of the name)
[image: Inline image 2]

3. Observe that Kenya staff have been removed.
[image: Inline image 3]

Let me know if you need any more specifics. The problem is most confusing
for private users editing private Cat Combos. If they are not the creator,
as soon as they make a chance they lose the ability to edit the cat combo
and it disappears.

Cheers!



*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 Mon, Oct 19, 2015 at 12:36 PM, Timothy Harding <tharding@xxxxxxxxxxxxxx>
wrote:

> 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

PNG image

PNG image

PNG image


Follow ups

References