View Source Janus.Policy.Rule (Janus v0.3.3)

Defines a rule for an individual schema and action.

Summary

Types

@type t() :: %Janus.Policy.Rule{
  action: Janus.action(),
  allow: [keyword() | boolean()],
  deny: [keyword() | boolean()],
  schema: Janus.schema_module()
}