Problem/Motivation
There are a number of modules in core (and contrib) that provide content entity types with permissions administer [entity type] and access [entity type] overview. Media, Node and Taxonomy are all examples of these, with the exception that Node also provides a "bypass node access" permission. Currently microcontent provides administer microcontent with the description "View the micro-content overview page".
Proposed resolution
- Provide a new "access microcontent overview" permission
- Provide an update path moving users from "administer microcontent" to "access microcontent overview"
- Expand the "administer microcontent" permission to provide full CRUD access to microcontent entities
- Add
restrict access: trueto "administer microcontent"
Remaining tasks
Update permissions for micro_content_admin viewTest CRUD access with "administer microcontent" permissionNotify users of the change (CR, release notes, status message?)
User interface changes
API changes
Data model changes
Issue fork microcontent-3255189
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mstrelan commentedComment #4
mstrelan commentedComment #5
mstrelan commentedComment #6
amjad1233@mstrelan LGTM. Good work.
Comment #9
mstrelan commented