Skip to content

Introduce granulated Media Gallery ACL resources and enforce for new media gallery #1487

@sivaschenko

Description

@sivaschenko

Story #1485

Description

Use Magento_MediaGallery::media_gallery ACL resource instead of Magento_Cms::media_gallery
The Magento_MediaGallery::media_gallery ACL resource should have the following subresources:
** Upload assets
** Delete assets
** Insert assets into the content
** Create folder
** Delete folder

The resources should be added to app/code/Magento/MediaGallery/etc/acl.xml file in magneto2 repo
The introduced ACL resources should be enforced for the new media gallery (Enhanced Media Gallery is enabled)
The ACL resources should affect if corresponding buttons/components are displayed to the user and if the controllers/services accept the actions

Metadata

Metadata

Assignees

Labels

BackendComplexFrontend/UIPriority: P2Should be fixed as early as possibleSeverity: S2Affects non-critical data or functionality and forces users to employ a workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions