Created access control (markdown)

Simon Brooke 2017-01-02 15:42:47 +00:00
parent d7cc4adaf9
commit 00c2c3a777

10
access-control.md Normal file

@ -0,0 +1,10 @@
Every [[cons space]] object has an access control list.
The possible values of that list (and its interpretation) are
* NIL : only system-privileged functions can access the object ('system private');
* TRUE : every user can access the object;
* A list : in which case it's equivalent to
(member? current-user (flatten acl))
The reason for using *(flatten acl)* is that groups of users may be added to access control lists as sublists, recursively. Note that if the sublist of the access control list which contains the current user is not readable by the current user, then the object will not be readable by the current user.