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

Defines a rule for an individual schema and action.

Link to this section Summary

Link to this section Types

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