Liking cljdoc? Tell your friends :D

magnet.rbac


add-super-admin!clj

(add-super-admin! db-spec logger user-id)
source

assign-role!clj

(assign-role! db-spec logger {:keys [role context user]})
source

assign-roles!clj

(assign-roles! db-spec logger role-assignments)
source

create-context!clj

(create-context! db-spec logger context parent-context)

To be able to create the top-level context, pass nil for PARENT-CONTEXT

To be able to create the top-level context, pass `nil` for PARENT-CONTEXT
sourceraw docstring

create-context-type!clj

(create-context-type! db-spec logger context-type)
source

create-context-types!clj

(create-context-types! db-spec logger context-types)
source

create-permission!clj

(create-permission! db-spec logger permission)
source

create-permissions!clj

(create-permissions! db-spec logger permissions)
source

create-role!clj

(create-role! db-spec logger role)
source

create-roles!clj

(create-roles! db-spec logger roles)
source

delete-context!clj

(delete-context! db-spec logger {:keys [context-type-name resource-id]})
source

delete-context-type!clj

(delete-context-type! db-spec logger context-type)
source

delete-context-types!clj

(delete-context-types! db-spec logger context-types)
source

delete-contexts!clj

(delete-contexts! db-spec logger contexts)
source

delete-permission!clj

(delete-permission! db-spec logger permission)
source

delete-permission-by-id!clj

(delete-permission-by-id! db-spec logger id)
source

delete-permission-by-name!clj

(delete-permission-by-name! db-spec logger name)
source

delete-permissions!clj

(delete-permissions! db-spec logger permissions)
source

delete-permissions-by-ids!clj

(delete-permissions-by-ids! db-spec logger ids)
source

delete-permissions-by-names!clj

(delete-permissions-by-names! db-spec logger names)
source

delete-role!clj

(delete-role! db-spec logger role)
source

delete-role-by-id!clj

(delete-role-by-id! db-spec logger role-id)
source

delete-role-by-name!clj

(delete-role-by-name! db-spec logger name)
source

delete-roles!clj

(delete-roles! db-spec logger roles)
source

delete-roles-by-ids!clj

(delete-roles-by-ids! db-spec logger ids)
source

delete-roles-by-names!clj

(delete-roles-by-names! db-spec logger names)
source

deny-role-permission!clj

(deny-role-permission! db-spec logger role permission)
source

deny-role-permissions!clj

(deny-role-permissions! db-spec logger role permissions)
source

get-contextclj

(get-context db-spec logger context-type-name resource-id)
source

get-context-typeclj

(get-context-type db-spec logger context-type-name)
source

get-context-typesclj

(get-context-types db-spec logger)
source

get-contextsclj

(get-contexts db-spec logger)
source

get-permission-by-idclj

(get-permission-by-id db-spec logger id)
source

get-permission-by-nameclj

(get-permission-by-name db-spec logger name)
source

get-permissionsclj

(get-permissions db-spec logger)
source

get-role-assignments-by-userclj

(get-role-assignments-by-user db-spec logger user-id)
(get-role-assignments-by-user db-spec logger user-id context-id)
source

get-role-by-idclj

(get-role-by-id db-spec logger role-id)
source

get-role-by-nameclj

(get-role-by-name db-spec logger name)
source

get-rolesclj

(get-roles db-spec logger)
source

grant-role-permission!clj

(grant-role-permission! db-spec logger role permission)
source

grant-role-permissions!clj

(grant-role-permissions! db-spec logger role permissions)
source

has-permissionclj

(has-permission db-spec
                logger
                user-id
                resource-id
                context-type-name
                permission-name)
source

remove-role-permission!clj

(remove-role-permission! db-spec logger role permission)
source

remove-role-permissions!clj

(remove-role-permissions! db-spec logger role permissions)
source

remove-super-admin!clj

(remove-super-admin! db-spec logger user-id)
source

super-admin?clj

(super-admin? db-spec logger user-id)
source

unassign-role!clj

(unassign-role! db-spec logger {:keys [role context user]})
source

unassign-roles!clj

(unassign-roles! db-spec logger unassignments)
source

update-context!clj

(update-context! db-spec logger context)
source

update-context-type!clj

(update-context-type! db-spec logger context-type)
source

update-context-types!clj

(update-context-types! db-spec logger context-types)
source

update-contexts!clj

(update-contexts! db-spec logger contexts)
source

update-permission!clj

(update-permission! db-spec logger permission)
source

update-permissions!clj

(update-permissions! db-spec logger permissions)
source

update-role!clj

(update-role! db-spec logger role)
source

update-roles!clj

(update-roles! db-spec logger roles)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close