LemonChannels. Capabilities. Registry
(lemon_channels v0.1.0)
View Source
Registry for capability sets and lookups.
Summary
Functions
@spec get_set(atom()) :: [LemonChannels.Capabilities.Capability.t()]
Returns a predefined capability set.
@spec register_set(atom(), [LemonChannels.Capabilities.Capability.t()]) :: :ok
Registers a custom capability set.
Note: Custom sets are not persisted and only exist for the current process.