ACSD-69331: Media Gallery folder creation fails for admin users with only Create Folder permission
The ACSD-69331 patch fixes the issue where admin users could not create folders in the CMS Media Gallery when only the Create Folder permission was granted. After the fix, they can create folders as expected. This patch is available when the Quality Patches Tool (QPT) 1.1.76 is installed. The patch ID is ACSD-69331. Please note that this issue is scheduled to be fixed in Adobe Commerce 2.4.9.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce (all deployment methods) 2.4.7-p8
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.4.5 - 2.4.8-p3
magento/quality-patches package to the latest version and check the compatibility on the Quality Patches Tool: Search for patches page. Use the patch ID as a search keyword to locate the patch.Issue
Admin users with only the Create Folder permission in the Media Gallery cannot create folders unless the Delete Folder permission is also granted.
Steps to reproduce:
- Log in to the Admin panel.
- Create a new role with access to Dashboard and Content > Elements > Media Gallery, granting only the Create Folder permission (do not grant Delete Folder).
- Create a new admin user and assign this role.
- Log in as the new admin user.
- Go to Content > Media > Media Gallery.
- Select a directory (for example,
catalog). - Click Create Folder.
- Enter and confirm a folder name.
Expected results:
- Folder creation works for admin user with only the Create Folder permission.
- The Delete Folder permission is not required to create folders.
Actual results:
- The user cannot create folders with only the Create Folder permission.
- Granting the Delete Folder permission is required to create folders.
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
- Adobe Commerce or Magento Open Source on-premises: Quality Patches Tool > Usage in the Quality Patches Tool guide.
- Adobe Commerce on cloud infrastructure: Upgrades and Patches > Apply Patches in the Commerce on Cloud Infrastructure guide.
Related reading
To learn more about Quality Patches Tool, refer to:
- Quality Patches Tool: A self-service tool for quality patches in the Tools guide.