-
Notifications
You must be signed in to change notification settings - Fork 445
Description
Description
If a NON-ADMIN user operates on the properties panel for a newly created resource (by the same user), for example a map, it can get to a state where the user cannot manage that same resource, for example deleting the resource or changing it since deleting is disabled and when attempting to save the user gets an error message (500 from the server)
How to reproduce
-
as a NON-ADMIN user access the home page and create a new map and save the new map.
-
Access the properties panel with the properties button on the action toolbar
-
Edit the properties by adding some text in the About tab of the properties panel --> remember to accept changes ( on the properties panel by clicking on the pencil button) and save the map
-
Add a permission for the user (everyone can view) --> remember to accept changes ( on the properties panel by clicking on the pencil button) and save the map
-
Remove the permission --> DO NOT accept changes nor save the map just now
-
Switch to the About tab and add some text on the map details
-
Accept the changes
-
Save the map
Expected Result
The map should save with no issues
Current Result
An error message appears on the map and the MS back end produces a 500 server error, it is not possible to save the map nor to delete it, by the same user that created it
- Not browser related
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)| Browser Affected | Version |
|---|---|
| Internet Explorer | |
| Edge | |
| Chrome | |
| Firefox | |
| Safari |
Other useful information
example of a non working map (visible to everyone)
https://dev-mapstore.geosolutionsgroup.com/mapstore/#/viewer/59478