Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As pointed out in #611294-99: Refine permissions for Field UI, the change to Drupal core in that issue will cause some File Entity users to see "Manage fields" and "Manage display" links in the admin UI that give them "access denied" when they click on it.
Here's a patch that fixes that. It's written in such a way that it should work regardless of whether Drupal core has been updated to include that change or not.
Comment | File | Size | Author |
---|---|---|---|
#12 | 2735841-fix-tests.patch | 606 bytes | Dave Reid |
#8 | 2735841-fix-tests.patch | 553 bytes | Dave Reid |
#6 | 2735841-fix-tests.patch | 553 bytes | Dave Reid |
#2 | file-entity-field-ui-2735841-2.patch | 697 bytes | David_Rothstein |
|
Comments
Comment #2
David_Rothstein CreditAttribution: David_Rothstein as a volunteer commentedHere is the patch.
Comment #3
Dave ReidSeems straightforward to me and tested, so committed to 7.x-1.x. Thanks!
Comment #5
Dave ReidTests started failing and we missed this since the upstream core issue hadn't been committed yet.
Comment #6
Dave ReidComment #8
Dave ReidAdded permission at the wrong place.
Comment #9
Dave ReidComment #12
Dave ReidAnd then I uploaded the wrong patch. :/
Comment #15
Dave ReidWill be fixing the PHP 5.6 failures separately.