At this moment, sometimes a permission is loaded by its real name, for example 'administer views' and other times, when loaded from dependencies or optionals, they are loaded using the identifier which looks like 'administer_views'.

This should be fixed using the identifier with underscores and looking for a way to load the original permissions based on this identifier.

Comments

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new2.71 KB

Here is the patch.

Status: Needs review » Needs work

The last submitted patch, 1782916.permissions-by-id.1.patch, failed testing.

dagmar’s picture

Status: Needs work » Needs review
StatusFileSize
new2.76 KB

Fixed notices.

dagmar’s picture

Status: Needs review » Fixed

Committed 7999f76

Status: Fixed » Closed (fixed)

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