hypejunction / acl_builder_api
This package is abandoned and no longer maintained.
No replacement package was suggested.
Utility for building access collections
1.1.1
2016-09-22 20:08 UTC
This package is not auto-updated.
Last update: 2020-01-21 00:00:05 UTC
README
Features
- API for creating an access collection for a set of users
Notes
- This plugins allows you to create access collections on the fly, if you need to limit access to a certain entity to a set of predefined users. Created access collections are permnanent, and the access collection IDs will always refer to the same set of users, and thus can be recycled.
Usage
use hypeJunction\Access\Collection; $entity->access_id = Collection::create(array($user1, $user2))->getCollectionId();