- Allow users to access content without modifying its access id or expadning access collections
To allow user to access an entity that he/she wouldn't normally have access to,
create a new access_grant
relationship between them:
add_entity_relationship($entity->guid, 'access_grant', $user->guid);
To revoke access, remove the relationship.