You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Align the behavior of contexts management on the front end to the backend model #11099
When the user role is changed from ADMIN to USER he is anyway able to edit contexts he created from the frontend. By design, the MS backend doesn't provide any restrictions on changing contexts based on the user role. Contexts are resources like all the other ones and the same policies are applied for authenticated users.
In the previous MS UI, it was possible to edit and manage context only from a dedicated admin section. Now that in the new UI contexts can be managed in home directly as other resources, the default configuration should be coherent:
or we allow all users to create contexts (the better option more in line with the model)
or we deny users with USER role from editing context created by them from the UI
It is already possible to apply one of them by app configuration but it will anyway remains only a possible client side setup for the reason explained above according to the model behind.
How to reproduce
Create a context as user X with ADMIN right
Change the role of that user to normal USER
Expected Result
One of the option above. Better the first one.
Current Result
The user cannot create new contexts but he is still able to edit contexts he created as admin
Activity
Fix geosolutions-it#11099 Align the behavior of contexts management o…
Fix #11099 Align the behavior of contexts management on the front end…
Fix geosolutions-it#11099 Align the behavior of contexts management o…
Fix #11099 Align the behavior of contexts management on the front end…
Update to v2025.01.00 (#54)
Update to v2025.01.00 (#54)