-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
1.2.3
-
None
Steps to reproduce
- Open the DAM app (decorated with the content-tags-integration decorator) using a user without write access to the DAM.
- See the browser sub app contains an active action, Modify Tags.
# Click Modify Tags to open a usable dialog.
Note:
Decorator: https://git.magnolia-cms.com/projects/ENTERPRISE/repos/image-recognition/browse/content-tags-integration/src/main/resources/content-tags-integration/decorations/dam-assets-app/apps/dam.subApps.yaml
To create a read-only user in the travel demo, modify the role travel-demo-tour-editor and use eric/eric.
Expected results
If the user cannot edit the underlying asset, the image action should not be enabled. This follows the pattern of the rest of the DAM app / Magnolia UI.
Actual results
- The dialog can be opened and the tags modified.
- An error is thrown on attempting to save modified tags.
Workaround
# Decorate the decoration.
ie. /decorations/dam-assets-app/apps/dam.yaml
subApps: jcrBrowser: actions: modifyTags: availability: writePermissionRequired: true
Development notes
Acceptance criteria
- relates to
-
MGNLUI-6404 Check correctness of settings of writePermissionRequired of actions in migrated apps
- Closed