Deletion of tags: permission is not checked in the backend
Opened this issue · 0 comments
ebroda commented
Description of the issue
Currently, there is no check in the backend if a user is admin & allowed to delete tags.
So, if you manipulate the DOM and simply add the delete button, you can delete tags even without being an admin.
Ideas of solution
Add check if user is admin before executing the deletion, somewhere here:
Lines 671 to 673 in 4cd7b6a
Context and Environment
- Version used: 1.0.5
- Operating system: -
- Environment setup and (python) version: -
Workflow checklist
- I am aware of the workflow in CONTRIBUTING.md