[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects (Adobe-managed PaaS infrastructure) and on-premises projects only."}

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
NOTE
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the 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:

  1. Log in to the Admin panel.
  2. Create a new role with access to Dashboard and Content > Elements > Media Gallery, granting only the Create Folder permission (do not grant Delete Folder).
  3. Create a new admin user and assign this role.
  4. Log in as the new admin user.
  5. Go to Content > Media > Media Gallery.
  6. Select a directory (for example, catalog).
  7. Click Create Folder.
  8. 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:

To learn more about Quality Patches Tool, refer to:

recommendation-more-help
c2d96e17-5179-455c-ad3a-e1697bb4e8c3