Hello again,

As complementary info the chart is shared with, lets say, the groups A, B,
C and D. (write/read for A and B, only read for C and D).

The group C manages the group D.
The group B manages groups C and D.
The group A manages B, C and D.

I discovered the following facts:

The user is able to modify *and save* the chart if he is in group A, but
not if he is in the group B, C and/or D.

I don't think we could reduce the sharing to only 2 groups.  Any
suggestions ?

Thanks again !

Ramón Jiménez Pomareta


2018-04-09 10:26 GMT+02:00 Ramón José Jiménez Pomareta <dh...@pomareta.ch>:

> Hello,
>
> I've upgraded to version 28 and I am facing to this error:
>
> When a user wants to save a chart, he gets the 409 conflict error. When
> regarding on the console I found the following error:
>
>    1. errorCode:"E5002"
>    2. mainKlass:"org.hisp.dhis.chart.Chart"
>    3. message:"Invalid reference [GROUPID] (UserGroup) on object
>    chartName [CHARTID] (Chart) for association `userGroupAccesses`."
>
> The user has all the authorities except the ALL authority.
> The dashboard and its items are shared with the userGroup.
> The user is member on the userGroup.
>
> The server log says however, the updated was done
>
> * INFO  2018-04-09 10:25:03,466 (username) Import:Start
> (DefaultMetadataImportService.java [ajp-bio-8010-exec-13])
> * INFO  2018-04-09 10:25:03,550 ( username ) Import:Preheat[REFERENCE]
> took 0.08 seconds (DefaultPreheatService.java [ajp-bio-8010-exec-13])
> * INFO  2018-04-09 10:25:03,579 ( username ) Import:Validation took 0.00
> seconds (DefaultObjectBundleValidationService.java [ajp-bio-8010-exec-13])
> * INFO  2018-04-09 10:25:03,579 ( username ) Import:Done took 0.11
> seconds (DefaultMetadataImportService.java [ajp-bio-8010-exec-13])
>
>
>
> Do you have any idea/suggestion ?
>
> Thank you so much !
> Ramón Jiménez Pomareta
>
_______________________________________________
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

Reply via email to