Liking cljdoc? Tell your friends :D

game.protocols.scope

Reusable discovery and response scope for request-shaped protocols.

Reusable discovery and response scope for request-shaped protocols.
raw docstring

eligible-role?clj

(eligible-role? payload representative-roles)

modesclj


normalize-modeclj

(normalize-mode mode)

normalize-scopeclj

(normalize-scope value)

validation-errorclj

(validation-error value)

visible?clj

(visible? payload {:keys [owner scope representative-roles admin-roles]})

Whether the canonical caller may discover a scoped record.

Owners and administrators always see it. Other callers must hold an eligible representative role; open is visible to every eligible representative while invited/direct additionally require recipient membership.

Whether the canonical caller may discover a scoped record.

Owners and administrators always see it. Other callers must hold an eligible
representative role; open is visible to every eligible representative while
invited/direct additionally require recipient membership.
raw 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