(current-user-privileges resource-path auth-user state)Compute the set of non-abstract privileges the current user has on a resource.
Compute the set of non-abstract privileges the current user has on a resource.
(default-acl owner-href)Create a default ACL for a new resource owned by owner-href.
Create a default ACL for a new resource owned by owner-href.
(evaluate-acl acl required-privs auth-user resource-path state)Evaluate an ACL for a given request. Returns true if access is granted.
Per RFC 3744 Section 6: ACEs are evaluated in order. A matching deny ACE for an ungranted required privilege causes immediate denial. Grant ACEs accumulate. When all required privileges are granted, access is allowed.
Evaluate an ACL for a given request. Returns true if access is granted. Per RFC 3744 Section 6: ACEs are evaluated in order. A matching deny ACE for an ungranted required privilege causes immediate denial. Grant ACEs accumulate. When all required privileges are granted, access is allowed.
(home-acl owner-href admin-href)Create an ACL for a user's home directory. Only the user and admin have access.
Create an ACL for a user's home directory. Only the user and admin have access.
(required-privileges-for-method method exists?)Return the set of privileges required to execute a method on a resource.
exists? is whether the resource currently exists.
Return the set of privileges required to execute a method on a resource. `exists?` is whether the resource currently exists.
(supported-privileges)Return the full privilege tree info as a seq of maps for XML generation.
Return the full privilege tree info as a seq of maps for XML generation.
(validate-ace-privileges privs)Validate that an ACE's privileges are all non-abstract and known.
Validate that an ACE's privileges are all non-abstract and known.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |