-
Notifications
You must be signed in to change notification settings - Fork 399
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
Problematic behavior
Reader can delete if no reload after permission change
Expected behavior/code
I shouldn't be able to delete docs or subdocs if I'm a reader. The permission change should have a dynamic effect on the page without requiring the user to reload to reflect if permission changed after page load.
Steps to Reproduce
- Add user as an editor to the doc
- User loads the doc
- Change user permission to reader
- User can delete doc as reader if no reload of the page
Environment
- Docs version: 3.5.0
- Instance url: docs.numerique.gouv.fr
Possible Solution
Additional context/Screenshots
Add any other context about the problem here. If applicable, add screenshots to help explain.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
To do