Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 745 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 745 Bytes

ACL Builder Utilility for Elgg

Elgg 1.11 Elgg 1.12

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();