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.
When creating user edit links then views is generally using user_edit_access() to determine permission of the current user. That ignores the fact that the access callback could have been changed by e.g. hook_menu_alter(). Attached is a patch that resolves that issue.
Comment | File | Size | Author |
---|---|---|---|
#3 | views-user_edit_link_access_callback-2334325-3.patch | 896 bytes | karenann |
|
Comments
Comment #1
jurgenhaasComment #2
jurgenhaasRe-rolled for drush make.
Comment #3
karenann CreditAttribution: karenann as a volunteer commentedrerolled for testing
Comment #4
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedThe 2 year old patch in #3 to views_handler_field_user_link_edit.inc applied cleanly to the latest views 7.x-3.x-dev and if still relevant needs to be reviewed.