Liking cljdoc? Tell your friends :D

wagoe.user.shell.rights-handlers

Admin pages for roles, permissions and a user's rights (ADR-041 §7). Changes go through the group service, so they are checked and audited.

Admin pages for roles, permissions and a user's rights (ADR-041 §7). Changes
go through the group service, so they are checked and audited.
raw docstring

access-overviewclj

(access-overview user-service group-service)

GET /web/admin/access — groups by modules; module and group filter it, and a filter's htmx request gets the matrix alone.

GET /web/admin/access — groups by modules; `module` and `group` filter it,
and a filter's htmx request gets the matrix alone.
sourceraw docstring

create-roleclj

(create-role group-service)
source

delete-roleclj

(delete-role group-service)
source

duplicate-roleclj

(duplicate-role group-service)

A managed role holding the permissions of the role named in the form, which is then adapted on its own page.

A managed role holding the permissions of the role named in the form, which
is then adapted on its own page.
sourceraw docstring

explain-accessclj

(explain-access user-service group-service)

GET /web/users/:id/explain — why the user may or may not use a permission, on a record when its scope keys are given (BOU-851).

GET /web/users/:id/explain — why the user may or may not use a permission,
on a record when its scope keys are given (BOU-851).
sourceraw docstring

grant-bulkclj

(grant-bulk user-service group-service)

GET /web/admin/permissions/grant — of the users pasted, those the permission asked refuses, each with its smallest fix. Under :report a refusal is only logged, so the users come from the log.

GET /web/admin/permissions/grant — of the users pasted, those the
permission asked refuses, each with its smallest fix. Under `:report`
a refusal is only logged, so the users come from the log.
sourceraw docstring

grant-groupclj

(grant-group user-service group-service)

POST /web/users/:id/grant/group — the last option: a group holding only the user and the assignment, named and with its purpose said.

POST /web/users/:id/grant/group — the last option: a group holding only
the user and the assignment, named and with its purpose said.
sourceraw docstring

grant-roleclj

(grant-role user-service group-service)

POST /web/users/:id/grant/role — a managed role holding only the permission asked; then back to the wizard, which offers to assign it.

POST /web/users/:id/grant/role — a managed role holding only the permission
asked; then back to the wizard, which offers to assign it.
sourceraw docstring

grant-wizardclj

(grant-wizard user-service group-service)

GET /web/users/:id/grant — the ways to give the user a permission, and nothing more, through groups.

GET /web/users/:id/grant — the ways to give the user a permission, and
nothing more, through groups.
sourceraw docstring

list-permissionsclj

(list-permissions group-service)
source

list-rolesclj

(list-roles group-service)
source

save-roleclj

(save-role group-service)
source

show-permissionclj

(show-permission group-service)
source

show-roleclj

(show-role group-service)
source

user-rightsclj

(user-rights user-service group-service)

GET /web/users/:id/rights — the user's groups, effective permissions and the changes to them.

GET /web/users/:id/rights — the user's groups, effective permissions and
the changes to them.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close