When entity access is checked for a taxonomy_term in uuid_services, FALSE is always returned unless the user has the "administer taxonomy" permission. This is because the $op may be set to "create" or "edit". These are not valid taxonomy_term operations. When checking access with entity_metadata_taxonomy_access(), the only valid operations are "update" and "view".

Comments

dkingofpa’s picture

Assigned: dkingofpa » Unassigned
Status: Active » Needs review
StatusFileSize
new1.32 KB
skwashd’s picture

Status: Needs review » Fixed

Thanks for the patch. I am happy to drop the $op manipulation for the edit/update check. Given that users can only add new terms if they have the administer taxonomy permission, we should leave that as is for uuid_services. I have made that change.

  • skwashd committed 54727ae on 7.x-1.x
    Issue #2276507 by dkingofpa, skwashd: Use correct $op check for taxonomy...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.