Sharing settings for data set reset when new org units assigned

Hi everyone,

I notice that if I set up sharing settings for a data set, but then later on assign this data set to new org units, all of the sharing settings for the user groups I have selected for that data set are reset. I have tried this on both 2.24 locally as well as 2.25 on play.dhis2.org/demo.

Is this by design?

Nick

If that’s correct (have not tested), it is a pretty critical bug

···

On Dec 16, 2016 05:34, “Shurajit Dutta” shurajitdutta@gmail.com wrote:

Hi everyone,

I notice that if I set up sharing settings for a data set, but then later on assign this data set to new org units, all of the sharing settings for the user groups I have selected for that data set are reset. I have tried this on both 2.24 locally as well as 2.25 on play.dhis2.org/demo.

Is this by design?

Nick


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

After further testing this seems to happen after I update an object. Have tried with category options, categories and data sets. I add sharing settings, change something (like the name field, or assign a new org unit, etc.) save/update the object and then sharing is reset. The user groups are still listed but all read/write settings are reset. This is all on play.dhis2.org/demo

Small video here:

https://drive.google.com/open?id=0B9cgz2MOOXtcQWR1ZHdKeks0ckE

···

On Fri, Dec 16, 2016 at 2:17 PM, Knut Staring knutst@gmail.com wrote:

If that’s correct (have not tested), it is a pretty critical bug

On Dec 16, 2016 05:34, “Shurajit Dutta” shurajitdutta@gmail.com wrote:

Hi everyone,

I notice that if I set up sharing settings for a data set, but then later on assign this data set to new org units, all of the sharing settings for the user groups I have selected for that data set are reset. I have tried this on both 2.24 locally as well as 2.25 on play.dhis2.org/demo.

Is this by design?

Nick


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Shurajit Dutta
Health Information Consultant

Hi Nick,

thanks for reporting and reproducing the issue. Can you please report it on JIRA together with the exact steps for reproducing it?

regards,

Lars

···

On Fri, Dec 16, 2016 at 5:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

I notice that if I set up sharing settings for a data set, but then later on assign this data set to new org units, all of the sharing settings for the user groups I have selected for that data set are reset. I have tried this on both 2.24 locally as well as 2.25 on play.dhis2.org/demo.

Is this by design?

Nick


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

I really like the video, Nick. May not always be needed of course, but very good way of documenting complex bugs.

···

On Dec 16, 2016 09:32, “Shurajit Dutta” shurajitdutta@gmail.com wrote:

After further testing this seems to happen after I update an object. Have tried with category options, categories and data sets. I add sharing settings, change something (like the name field, or assign a new org unit, etc.) save/update the object and then sharing is reset. The user groups are still listed but all read/write settings are reset. This is all on play.dhis2.org/demo

Small video here:

https://drive.google.com/open?id=0B9cgz2MOOXtcQWR1ZHdKeks0ckE

On Fri, Dec 16, 2016 at 2:17 PM, Knut Staring knutst@gmail.com wrote:

If that’s correct (have not tested), it is a pretty critical bug


Shurajit Dutta
Health Information Consultant

On Dec 16, 2016 05:34, “Shurajit Dutta” shurajitdutta@gmail.com wrote:

Hi everyone,

I notice that if I set up sharing settings for a data set, but then later on assign this data set to new org units, all of the sharing settings for the user groups I have selected for that data set are reset. I have tried this on both 2.24 locally as well as 2.25 on play.dhis2.org/demo.

Is this by design?

Nick


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thanks Lars, will do

···

On Fri, Dec 16, 2016 at 3:06 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Nick,

thanks for reporting and reproducing the issue. Can you please report it on JIRA together with the exact steps for reproducing it?

regards,

Lars

On Fri, Dec 16, 2016 at 5:34 AM, Shurajit Dutta shurajitdutta@gmail.com wrote:

Hi everyone,

I notice that if I set up sharing settings for a data set, but then later on assign this data set to new org units, all of the sharing settings for the user groups I have selected for that data set are reset. I have tried this on both 2.24 locally as well as 2.25 on play.dhis2.org/demo.

Is this by design?

Nick


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Shurajit Dutta
Health Information Consultant