- Issue created by @RichardDavies
As pointed out in https://www.drupal.org/project/edit_media_modal/issues/3352274#comment-1... β¨ Support CKEditor5 Needs review , there is a problem with the 'Edit media' button when the user doesn't have "update" permission on the media entity. The button simply fails to do anything.
1. As a user with limited permissions, embed an image that you don't have permission to edit.
2. Click the 'Edit media' pencil button and note that nothing happens.
Since the user can't edit the media, perhaps just show them the media entity's "view" page so they can see more context about which media entity is embedded. Or at least display some sort of error message informing them of the permission issue.
Active
2.0
Code