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
Currently users with role "Observer" can replace files in the media library, and a network error occurs when they try to delete a file.
However, they should not be allowed to delete or replace any files. Only uploading shoud be possible for them.
Steps to Reproduce
Upload some files as root user.
Log out once and log in as observer.
Go to Media Library.
Try to delete/replace a file.
Expected Behavior
Buttons "Replace file" and "Delete file" are not available for observers, and replacing/deleting requests will be rejected if the user is an observer.
Actual Behavior
The buttons are shown, deleting will be rejected but triggers a network error, replacing will not be rejected.
Additional Information
Add also a warning "You don't have permission to delete or replace files but you can upload files" on the top part of the media library, as in the page tree, poi/event lists.
Traceback
The text was updated successfully, but these errors were encountered:
Describe the Bug
Currently users with role "Observer" can replace files in the media library, and a network error occurs when they try to delete a file.
However, they should not be allowed to delete or replace any files. Only uploading shoud be possible for them.
Steps to Reproduce
Expected Behavior
Buttons "Replace file" and "Delete file" are not available for observers, and replacing/deleting requests will be rejected if the user is an observer.
Actual Behavior
The buttons are shown, deleting will be rejected but triggers a network error, replacing will not be rejected.
Additional Information
Add also a warning "You don't have permission to delete or replace files but you can upload files" on the top part of the media library, as in the page tree, poi/event lists.
Traceback
The text was updated successfully, but these errors were encountered: