Problem/Motivation

The revision overview uses a few permissions to determine whether the user may revert and delete revisions. These strings are fixed to using only the bundle of the entity. This is fine for media and taxonomy terms, but our custom entity uses the entity type id as well in these strings.

Proposed resolution

Extract the permission string into a protected method to allow overriding it.

Remaining tasks

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

SpadXIII created an issue. See original summary.

spadxiii’s picture

Title: Allowe overriding permissions strings for other entities » Allow overriding permissions strings for other entities