User cannot edit their own objects in 2.21

Hi all,

we have realized that at some point in 2.21 development the access control for elements that don’t have an explicit “Add/Update Private” authority (like ReportTables, Charts and Dashboards) stopped working as expected. For example, users can save a ReportTable as favorite, but they cannot update the table they have previously created.

Looking at following versions, it seems that this issue was fixed in 2.22 with this commit, but it was not backported to 2.21. We have tried applying that commit in 2.21, and it solves the issue.

Could it be backported to 2.21? If you prefer, we can create a pull request to contribute it.

For us it is quite important to fix it in 2.21 because we will use this version until January 2017.

Regards,

Víctor

Hi Victor

If you could provide me with a PR, I will have a look and merge into 221. Thanks.

···

On Thu, Sep 8, 2016 at 6:08 PM, Victor Garcia vgarciabnz@gmail.com wrote:

Hi all,

we have realized that at some point in 2.21 development the access control for elements that don’t have an explicit “Add/Update Private” authority (like ReportTables, Charts and Dashboards) stopped working as expected. For example, users can save a ReportTable as favorite, but they cannot update the table they have previously created.

Looking at following versions, it seems that this issue was fixed in 2.22 with this commit, but it was not backported to 2.21. We have tried applying that commit in 2.21, and it solves the issue.

Could it be backported to 2.21? If you prefer, we can create a pull request to contribute it.

For us it is quite important to fix it in 2.21 because we will use this version until January 2017.

Regards,

Víctor


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

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

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

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

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org