-
Bug
-
Resolution: Unresolved
-
Major
-
1.3.0
-
None
-
2 - Long term
-
2 - Normal
How to reproduce
- Open a session "webmaster" on the Ametys demo
- Go to "Intégrateur"
- Button "Editeur charte graphique"
- Choose the charter "CMS Java Open Source (demo)"
- Choose "continuer en conservant le lien avec le modèle au risque de perdre vos modification"
- Open a file
- Open another session simultaneously in another browser with "admin"
- Got to the same charter
- Say yes to recover the rights of modifications
- Go on the same file
- Edit the file
- Save file
- Return to the session "webmaster"
- Edit the file
- Save file
Actual behavior
Both sessions can modify at the same time the same file without having of alert.
Expected behavior
The webmaster user should have an alert: « L’utilisateur webmaster User (Webmaster) a ouvert cette charte en édition : vous ne pouvez la modifier. Fermez l’outil et ré-ouvrez le pour récupérer les droits d’écriture. Attention, vos précédentes modifications seront perdues »