Liking cljdoc? Tell your friends :D

wagoe.user.shell.group-handlers

Admin pages for groups, under /web/admin/groups. Every change goes through the group service, so it is checked and audited with the signed-in admin as actor.

Admin pages for groups, under /web/admin/groups. Every change goes through
the group service, so it is checked and audited with the signed-in admin as
actor.
raw docstring

add-memberclj

(add-member user-service group-service)
source

add-roleclj

(add-role group-service)
source

confirmed?clj

(confirmed? request)

Whether the form confirms a change its preview showed.

Whether the form confirms a change its preview showed.
sourceraw docstring

createclj

(create group-service)
source

decode-scopeclj

(decode-scope group-service values)

Scope values from a form, read as the declared scope schema reads a string.

Scope `values` from a form, read as the declared scope schema reads a string.
sourceraw docstring

delete-groupclj

(delete-group group-service)
source

error-textclj

(error-text e)

What to show for a refused change: the field's message, and the schema's explanation when there is one.

What to show for a refused change: the field's message, and the schema's
explanation when there is one.
sourceraw docstring

formclj

(form request k)
source

form-expiryclj

(form-expiry request)

The expiry date the form gives, yyyy-mm-dd, as the Instant that day starts in UTC; nil when blank. Throws :validation-error on :expires-at.

The expiry date the form gives, `yyyy-mm-dd`, as the Instant that day
starts in UTC; nil when blank. Throws :validation-error on :expires-at.
sourceraw docstring

fragment-responseclj

(fragment-response request target-id fragment page)

(fragment) for an htmx request targeting target-id, else (page).

`(fragment)` for an htmx request targeting `target-id`, else `(page)`.
sourceraw docstring

list-pageclj

(list-page group-service)
source

list-responseclj

(list-response request spec items page)

A list page's response from its URL: for its own search and sort (an htmx request for the list's container spec), items in the list alone, else (page table-query).

A list page's response from its URL: for its own search and sort (an htmx
request for the list's container `spec`), `items` in the list alone, else
`(page table-query)`.
sourceraw docstring

member-optionsclj

(member-options user-service group-service)

GET /:id/members/options?q= — the users whose name or email contains the typed text and who are not members yet, for the member lookup.

GET /:id/members/options?q= — the users whose name or email contains the
typed text and who are not members yet, for the member lookup.
sourceraw docstring

page-optsclj

(page-opts request)
source

preview-responseclj

(preview-response request group-service change back)

What change would do to effective rights (BOU-852), and a form that posts the request's fields again, confirmed. back: where cancel goes.

What `change` would do to effective rights (BOU-852), and a form that
posts the request's fields again, confirmed. `back`: where cancel goes.
sourceraw docstring

provider-membersclj

(provider-members group-service)

GET /:id/provider-members — the users the membership hook puts in the group.

GET /:id/provider-members — the users the membership hook puts in the group.
sourceraw docstring

redirectclj

(redirect path flash-key)
source

refused?clj

(refused? e)
source

remove-memberclj

(remove-member group-service)
source

remove-roleclj

(remove-role group-service)
source

scope-infoclj

(scope-info group-service)

What rights-ui/scope-view reads to label a scope's keys and sources.

What `rights-ui/scope-view` reads to label a scope's keys and sources.
sourceraw docstring

scope-keysclj

(scope-keys group-service)

The scope keys an assignment may set, as the declared scope map has them, each with its registry label, a lookup when it points at an admin entity ([:domain-id {:wagoe/entity :domains} :int]), and the user sources it takes.

The scope keys an assignment may set, as the declared scope map has them,
each with its registry label, a lookup when it points at an admin entity
(`[:domain-id {:wagoe/entity :domains} :int]`), and the user sources it takes.
sourceraw docstring

showclj

(show group-service)
source

update-groupclj

(update-group group-service)
source

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