Liking cljdoc? Tell your friends :D

dev.gethop.rbac.next


add-super-admin!clj

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

assign-role!clj

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

assign-roles!clj

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

create-context!clj

(create-context! db-spec 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 context-type)
source

create-context-types!clj

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

create-permission!clj

(create-permission! db-spec permission)
source

create-permissions!clj

(create-permissions! db-spec permissions)
source

create-role!clj

(create-role! db-spec role)
source

create-roles!clj

(create-roles! db-spec roles)
source

delete-context!clj

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

delete-context-type!clj

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

delete-context-types!clj

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

delete-contexts!clj

(delete-contexts! db-spec contexts)
source

delete-permission!clj

(delete-permission! db-spec permission)
source

delete-permission-by-id!clj

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

delete-permission-by-name!clj

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

delete-permissions!clj

(delete-permissions! db-spec permissions)
source

delete-permissions-by-ids!clj

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

delete-permissions-by-names!clj

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

delete-role!clj

(delete-role! db-spec role)
source

delete-role-by-id!clj

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

delete-role-by-name!clj

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

delete-roles!clj

(delete-roles! db-spec roles)
source

delete-roles-by-ids!clj

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

delete-roles-by-names!clj

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

deny-role-permission!clj

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

deny-role-permissions!clj

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

get-contextclj

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

get-context-typeclj

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

get-context-typesclj

(get-context-types db-spec)
source

get-contextsclj

(get-contexts db-spec)
source

get-permission-by-idclj

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

get-permission-by-nameclj

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

get-permissionsclj

(get-permissions db-spec)
source

get-role-assignments-by-userclj

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

get-role-by-idclj

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

get-role-by-nameclj

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

get-rolesclj

(get-roles db-spec)
source

grant-role-permission!clj

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

grant-role-permissions!clj

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

has-permissionclj

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

remove-role-permission!clj

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

remove-role-permissions!clj

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

remove-super-admin!clj

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

super-admin?clj

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

unassign-role!clj

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

unassign-roles!clj

(unassign-roles! db-spec unassignments)
source

update-context!clj

(update-context! db-spec context)
source

update-context-type!clj

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

update-context-types!clj

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

update-contexts!clj

(update-contexts! db-spec contexts)
source

update-permission!clj

(update-permission! db-spec permission)
source

update-permissions!clj

(update-permissions! db-spec permissions)
source

update-role!clj

(update-role! db-spec role)
source

update-roles!clj

(update-roles! db-spec roles)
source

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

× close