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: true to "administer microcontent"

Remaining tasks

  • Update permissions for micro_content_admin view
  • Test CRUD access with "administer microcontent" permission
  • Notify users of the change (CR, release notes, status message?)

User interface changes

API changes

Data model changes

Command icon 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

mstrelan created an issue. See original summary.

mstrelan’s picture

Issue summary: View changes
mstrelan’s picture

Issue summary: View changes
mstrelan’s picture

Status: Active » Needs review
amjad1233’s picture

Status: Needs review » Reviewed & tested by the community

@mstrelan LGTM. Good work.

  • mstrelan committed 7ed2089 on 8.x-1.x
    Issue #3255189 by mstrelan, amjad1233, larowlan: Add "access...

mstrelan credited larowlan.

mstrelan’s picture

Title: Add "access microcontent overview" permission » Add "access microcontent overview" permission, overhaul "administer microcontent"
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.