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 function entity_collection_access targets non existing permissions
return user_access("$op {$entity_collection->bundle} collections", $account);
Should be return user_access("$op {$entity_collection->bundle} entity collections", $account);
Comment | File | Size | Author |
---|---|---|---|
#4 | combined_permission_names-2201389-4.patch | 3.13 KB | pontus_nilsson |
#3 | combined_permission_names-2201389-3.patch | 3.13 KB | pontus_nilsson |
#2 | combined_permission_names-2201389-2.patch | 2.54 KB | pontus_nilsson |
#1 | permission_names-2201389-1.patch | 819 bytes | pontus_nilsson |
Comments
Comment #1
pontus_nilssonThis patch corrects the permission names.
Comment #2
pontus_nilssonCombined patch of #2200381: Wrong paths for classes #2201389: Access callback targets non existing permissions #1895152: missed argument for entity_collection_content_form_autocomplete to make drush make happy.
Comment #3
pontus_nilssonKeeping my make file happy with a combined patch. Sorry for intruding on the issue queue :)
Comment #4
pontus_nilsson#3 missed file rename. New patch.
Comment #5
pontus_nilssonPermissions fixed in f43927e