Regression: Cannot hide a layer from a Viewer that's in a group of Viewers with latest dev #674
Closed
1 task done
Labels
bug
Something isn't working
Checklist
Subject of the issue
I have a project with 2 layers:
layer_1
andlayer_2
and I want a viewer user that's in a group of viewer users to see just the layer2 using ONLY group permissions (if I do it using the user permissions it works)I cannot do that using just the group permissions.
I need to add the specific username to the project ACL in order to work which it's bad when managing lots of users - I want the viewer user to inherit the group permissions.
Steps to reproduce
I tested this with the latest dev, but on branch 3.6.x it works.
I added a demo project to https://workshop.qcooperative.net/ (admin and qcooperative as login/pass) that holds the two layers. I created 2 users: viewer-in-a-group and viewer-not-in-a-group with the same password (qcooperative) and I added the viewer-in-a-group to a viewer-group called demo-viewers.
I created a workshop group and I added the following permissions: (one thing I noticed is that the checkbox with (Propagate NEW viewers and new viewers user groups permissions) doesn't get stored as when I get back to it it shows unchecked)
I created the project with the following permissions:
Whatever I do to hide layer_2 using ONLY group permissions doesn't work and the viewer-in-a-group is seeing both layers.
Environment
[g3wsdk.info]
Link to your project
https://workshop.qcooperative.net/en/map/seminar/qdjango/26/
Additional info
No response
The text was updated successfully, but these errors were encountered: