Liking cljdoc? Tell your friends :D

wagoe.user.core.view-as

An administrator viewing the app as another user, read-only (BOU-868): the session takes that user's rights for a while, and the administrator stays the actor of what is audited.

An administrator viewing the app as another user, read-only (BOU-868): the
session takes that user's rights for a while, and the administrator stays
the actor of what is audited.
raw docstring

active?clj

(active? {:keys [view-as-user-id view-as-until]} now)

Whether session views the app as another user at now.

Whether `session` views the app as another user at `now`.
sourceraw docstring

allowed-writesclj

What a view may still post: stopping it, signing out, which ends it, and signing in again before the session ends (BOU-1007).

What a view may still post: stopping it, signing out, which ends it, and
signing in again before the session ends (BOU-1007).
sourceraw docstring

duration-minutesclj

How long a view lasts before it ends by itself.

How long a view lasts before it ends by itself.
sourceraw docstring

refusalclj

(refusal admin target session now)

Why admin, whose session it is, may not view the app as target, or nil. Only an administrator, not one already viewing, and never as an administrator, themselves, a deactivated user or one of another tenant than a tenant's administrator's.

Why `admin`, whose `session` it is, may not view the app as `target`, or
nil. Only an administrator, not one already viewing, and never as an
administrator, themselves, a deactivated user or one of another tenant
than a tenant's administrator's.
sourceraw docstring

stop-pathclj

source

writes?clj

(writes? method)

Whether a request of method would change something: refused while viewing.

Whether a request of `method` would change something: refused while viewing.
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