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.

Files: 
CommentFileSizeAuthor
#1 devel_perm_names.1397188.1.patch1.89 KBsalvis
PASSED: [[SimpleTest]]: [MySQL] 2 pass(es).
[ View ]

Comments

StatusFileSize
new3.94 KB
new1.89 KB
PASSED: [[SimpleTest]]: [MySQL] 2 pass(es).
[ View ]
new3.72 KB

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

permission checkbox

And one of the hints:

sample hint

Status:Active» Needs review

The patch applies to D7 and D8.

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.