(add-action role-set resource action)
Defines a new action on resource Throws exception when the resource is missing
Defines a new action on resource Throws exception when the resource is missing
(add-inheritance role-set role inherits)
Adds inheritance to a role. The parent role should exist, validates for cyclic inheritance. On error throws an Exception
Adds inheritance to a role. The parent role should exist, validates for cyclic inheritance. On error throws an Exception
(add-permission role-set role resource action permission)
Provides a permission for a role. Validates for the resource, action and role. On error throws an Exception
Provides a permission for a role. Validates for the resource, action and role. On error throws an Exception
(add-resource role-set resources)
Defines a new resource to the role-set
Defines a new resource to the role-set
(add-role role-set role)
Defines a new role to the role-set
Defines a new role to the role-set
(delete-action role-set resource action)
Deletes an action on resource. Throws Exception when the resource or the action is missing
Deletes an action on resource. Throws Exception when the resource or the action is missing
(delete-permission role-set role resource action permission)
Revokes a permission for a user, for an action on resource Validates for the resource, action, role and permission. On error throws an Exception
Revokes a permission for a user, for an action on resource Validates for the resource, action, role and permission. On error throws an Exception
(delete-resource role-set resource)
Deletes a resource from the role-set, if it exist, else throws Exception. Removes all actions, and permissions on the given resource
Deletes a resource from the role-set, if it exist, else throws Exception. Removes all actions, and permissions on the given resource
(init role-set)
(init initial-set role-set)
Initialize and validates role-set from given map. If anything goes wrong throws Exception
Initialize and validates role-set from given map. If anything goes wrong throws Exception
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close