hypejunction / access_grant
Access grant
Package info
github.com/hypeJunction/Elgg-access_grant
Type:elgg-plugin
pkg:composer/hypejunction/access_grant
1.1.1
2016-08-05 14:23 UTC
Requires
- php: >=5.5
- composer/installers: ~1.0
This package is auto-updated.
Last update: 2026-03-01 00:10:15 UTC
README
Features
- Allow users to access content without modifying its access id or expadning access collections
Usage
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.