Not to be confused with #724392: Use field names (rather than labels) on overview page

If you have two fields that use the same label but have different field name you can't tell which is which on the permission page.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mrfelton’s picture

I agree with this. Also a problem when you are exporting permissions into features. It's very hard to know which field is which when you have several fields with the same label.

dynamicdan’s picture

FURTHER..

Our labels are massive (in german).. Showing the machine name would be very nice and de-clutter the field permissions table.

David Stosik’s picture

Status: Active » Needs review
FileSize
1.94 KB

Hello,
Here is my try.
Example:

Create own value for field field_image
This field appears as: "Node:Article:Image", "Node:Page:Page main Image".

I use the field name in first line, then list in description all appearances of the field, using format "Entity:Bundle:Field label".
Feel free to review attached patch.

Regards,

David

This patch is part of the #1day1patch initiative.

Status: Needs review » Needs work

The last submitted patch, 1450514-3-field_permissions-permission_page_label.patch, failed testing.

David Stosik’s picture

Status: Needs work » Needs review
FileSize
3.49 KB

Sorry, forgot about the tests.

mariacha1’s picture

Issue summary: View changes
Status: Needs review » Fixed

Nice patch! Committed.

Status: Fixed » Closed (fixed)

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