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
A user complained that he edited a page and wanted to delete an attachment. He clicked on the delete button for the attachment, confirm it but nothing happen. It turned out that the permission setting in the group was "own". Changing to "all" and he could delete the attachment in question. I guess the attachment was uploaded by another person.
Steps to Reproduce
Check that the group setting for attachment is "onw".
Edit a page as user A and upload an attachment
Save it
Edit the page as user B and try to delete the attachment. You can confirm the deletion but the attachment is still there.
Expected Behaviour
Bookstack should provide a message why that attachment can't be deleted.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.10.2
The text was updated successfully, but these errors were encountered:
Thanks @JtheBAB for reporting.
Ultimately, the user shouldn't be provided the option in the first place if they don't have the permissions to perform the action.
I've assigned to be addressed for the next feature release.
This has now been addressed in fcf0bf7, so that controls are not shown if the user does not have permission to use them. This will be part of the next feature release.
Describe the Bug
A user complained that he edited a page and wanted to delete an attachment. He clicked on the delete button for the attachment, confirm it but nothing happen. It turned out that the permission setting in the group was "own". Changing to "all" and he could delete the attachment in question. I guess the attachment was uploaded by another person.
Steps to Reproduce
Check that the group setting for attachment is "onw".
Edit a page as user A and upload an attachment
Save it
Edit the page as user B and try to delete the attachment. You can confirm the deletion but the attachment is still there.
Expected Behaviour
Bookstack should provide a message why that attachment can't be deleted.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
v24.10.2
The text was updated successfully, but these errors were encountered: