User needs permission to delete any media to upload images

Created on 31 July 2025, 3 months ago

Problem/Motivation

User needs to have this permission enabled to be able to upload an image. When not, the uploaders gets stock and it does not create the media entity.

Context:
Drupal Version 10.5.1
Hosted on Pantheon with Lando local and Composer
Media Library Version: 10.5.1
Layout Builder Modal Version: 2.0.0

Steps to reproduce

  1. Set up a testing site with Layout Builder Modal and Media Library
  2. Create a block type with an entity reference media image
  3. Create an editor role with access to Entity Browser, Media Image, and the new block type
  4. Use Media Library on the block form Display
  5. Logged in with a editor user, add a block on a Page Layout
  6. Try uploading an image from your local

Proposed resolution

Remaining tasks

  1. First, I would like someone to help me test this on a clean installation

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

10.5 ✨

Component

media system

Created by

πŸ‡ΊπŸ‡ΈUnited States anicoto Houston, TX

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024