Describe the bug
A sharee of an image can still open the image editor even though the have no editing permissions from the share. Saving the edited image will fail without an explanation.
To Reproduce
Steps to reproduce the behavior:
- Open using another account
- Share a picture to test account
- Uncheck "Editing" rights
- Go to web app via test account
- Preview shared picture
- Edit button is visible and picture can be edited (saving fails)
Expected behavior
Edit button is not visible
Additional context
The Viewer#canEdit computed property reveals "SRGDNVW" permissions for this.currentFile, but the PROPFIND-returned xml data shows permissions correctly as "SRGD". Presumably, somewhere that information is lost or overridden.
Describe the bug
A sharee of an image can still open the image editor even though the have no editing permissions from the share. Saving the edited image will fail without an explanation.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Edit button is not visible
Additional context
The Viewer#canEdit computed property reveals "SRGDNVW" permissions for this.currentFile, but the PROPFIND-returned xml data shows permissions correctly as "SRGD". Presumably, somewhere that information is lost or overridden.