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.
The 'edit' and 'delete' views field_link handlers re-implement part of eck__entity_access(), by-passing it - and more inconveniently by-passing entity_access() completely. More inconveniently because if the 'access callback' has been hook_entity_info_alter'ed the handler ignores this.
Comment | File | Size | Author |
---|---|---|---|
#5 | eck-2449619-5.patch | 2.75 KB | pifagor |
Comments
Comment #1
ekes CreditAttribution: ekes commentedLike this would be more flexible.
Comment #2
mihai_brb CreditAttribution: mihai_brb commentedThere's this one that tries to fix the big picture:
https://www.drupal.org/node/1969394
Comment #3
legolasboThe patch no longer applied. rerolled it agains latest head.
While doing so I undid the code reformatting to optimise for review. We can do the reformatting in a follow-up issue.
Comment #5
pifagorI recreated patch.
Comment #6
alex_optimLooks good
Comment #7
pifagorComment #9
pifagor