Reusable discovery and response scope for request-shaped protocols.
Reusable discovery and response scope for request-shaped protocols.
(eligible-role? payload representative-roles)(normalize-mode mode)(normalize-scope value)(validation-error value)(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |