Problem/Motivation
When Views module is uninstalled, the access media overview permission that was (re-)introduced in #2905213: Bring back "access media overview" permission has no effect. That is because the default collection route just checks for the admin permission.
Proposed resolution
#2953566: Allow entities to specify a "collection permission" is introducing the concept of a collection permission. When that is in, adding a collection permission to media entities will automatically fix the issue.
In addition to that we should add tests to verify that the media overview can be accessed with the access media overview collection when Views is not installed.
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | drupal-11-2954866-media-collection-perm-13.patch | 524 bytes | danielcavanagh |
| #13 | drupal-10-2954866-media-collection-perm-13.patch | 538 bytes | danielcavanagh |
Comments
Comment #12
chris matthews commented#2953566: Allow entities to specify a "collection permission" is in
Comment #13
danielcavanagh commentedpatches for 10.4.x and 11.x to set collection permission id on media entity
the permission already exists and is used in other situations, but now will work for allowing access to the media overview page