package guardian

  1. Overview
  2. Docs

Module Make.ActionSource

include module type of struct include Guard.Action end
Sourcetype t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
Sourceval equal : t -> t -> bool
Sourceval compare : t -> t -> int
Sourceval pp : Format.formatter -> t -> unit
Sourceval show : t -> string
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval of_string : string -> t
Sourceval is_valid : matches:t -> t -> bool

is_valid checks the validity of the provided action t against action matches or action Manage

OCaml

Innovation. Community. Security.