lizmap-plugin icon indicating copy to clipboard operation
lizmap-plugin copied to clipboard

layer editing - acl

Open josemvm opened this issue 7 years ago • 6 comments

hi

i' ve this acl in my project:

acl

how can i, as admin user, have all other permissions on same project?

josemvm avatar Mar 02 '17 14:03 josemvm

in other words, a group with permissions only to create and another group with all the permissions (?)

josemvm avatar Mar 02 '17 14:03 josemvm

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

mdouchin avatar Mar 02 '17 15:03 mdouchin

it's not possible to add more than one acl by layer...

josemvm avatar Mar 02 '17 15:03 josemvm

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.

mdouchin avatar Mar 02 '17 15:03 mdouchin

hi @mdouchin

this improvement would be greatly appreciated if it could be integrated in upcoming 3.1

many thanks in advance

josemvm avatar Mar 02 '17 18:03 josemvm

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.

Gustry avatar Jul 11 '23 11:07 Gustry