The D7/D8 Permissions page displays "nice" translated permission names, but it can be less than straight-forward to find out the real permission names, especially on a non-English site. For example, the Shortcut core module has a permission called "Edit current shortcut set", and on a French-language site you'll see "Modifier l'ensemble de raccourcis actif". If you want to do something with this permission in code or need to get support for it, then you'll need to know that it's actually called: 'customize shortcut links'.

I'm proposing to add an option to display the machine names of the permissions in fly-over hints.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

salvis’s picture

Here's the patch, and this is what the option looks like:

permission checkbox

And one of the hints:

sample hint

salvis’s picture

Status: Active » Needs review

The patch applies to D7 and D8.

salvis’s picture

Assigned: salvis » Unassigned
Status: Needs review » Fixed

Committed to D7 and D8.

Status: Fixed » Closed (fixed)

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