lizmap-plugin
lizmap-plugin copied to clipboard
layer editing - acl
hi
i' ve this acl in my project:
how can i, as admin user, have all other permissions on same project?
in other words, a group with permissions only to create and another group with all the permissions (?)
have you trie to add the same layer with other groups, like
observa True False False False Anonymous
observa True True True True super_group
@rldhont and myself have not yet tried, but it could work if the groups in both lines are exclusive. Really not sure about it though. Thanks in advance for your review
it's not possible to add more than one acl by layer...
In fact this is not so simple, since the plugin
- controls that the layer is only added once , lines 1406 and after
- use the layer name as key in the JSON config, lines 2147
We should remove redondant code for each table, and find a way to allow the addtion of the same edition layer twice or more in the plugin, and keep only one in the web client via rights managment.
hi @mdouchin
this improvement would be greatly appreciated if it could be integrated in upcoming 3.1
many thanks in advance
As a workaround for that, I add the layer twice (this should be a limited usage, because it overloads QGIS server), or I made a administration project for that.