Liking cljdoc? Tell your friends :D

wagoe.admin.shell.scoped-service

The admin service as one user may use it under :enforce (ADR-041 §6): lists, counts and overviews show only rows inside their scopes; a record outside them is not found; a write that would leave a record outside them is refused. Built per request around the shared service, so every list the handlers ask for, a foreign key's options included, is scoped.

The admin service as one user may use it under `:enforce` (ADR-041 §6):
lists, counts and overviews show only rows inside their scopes; a record
outside them is not found; a write that would leave a record outside them
is refused. Built per request around the shared service, so every list the
handlers ask for, a foreign key's options included, is scoped.
raw docstring

for-requestclj

(for-request admin-service schema-provider request)

admin-service as request's caller may use it: as for-user, and kept to one tenant's records when the caller is bound to one (BOU-954); nil when they may reach no tenant's.

`admin-service` as `request`'s caller may use it: as `for-user`, and kept to
one tenant's records when the caller is bound to one (BOU-954); nil when they
may reach no tenant's.
sourceraw docstring

for-userclj

(for-user admin-service schema-provider user)

admin-service as user may use it: scoped under :enforce, else as it is.

`admin-service` as `user` may use it: scoped under `:enforce`, else as it is.
sourceraw docstring

schema-for-requestclj

(schema-for-request schema-provider request)

schema-provider as request's caller sees it: an entity's :platform-fields read-only, in forms and lists alike, to anyone but a platform admin (BOU-1011).

`schema-provider` as `request`'s caller sees it: an entity's
`:platform-fields` read-only, in forms and lists alike, to anyone but a
platform admin (BOU-1011).
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