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.
Hi, I've noticed that taxonomy_uuid_load breaks entity_access for taxonomy_term entity type because entity_access calls entity_metadata_taxonomy_access which relies on taxonomy_term_edit_access, and this function uses vocabulary id for permission check, not the machine name.
entity_access also fails for nodes because node->uid is the uuid of the node owner and node_node_access compares user->uid with node->uid.
Comment | File | Size | Author |
---|---|---|---|
#3 | uuid_node_access-2156045-2.patch | 961 bytes | juanjo_vlc |
Comments
Comment #1
juanjo_vlc CreditAttribution: juanjo_vlc commentedComment #2
juanjo_vlc CreditAttribution: juanjo_vlc commentedI've created a patch to provide hook_node_access implementation.
Comment #3
juanjo_vlc CreditAttribution: juanjo_vlc commented