package guardian

  1. Overview
  2. Docs
module Actor : sig ... end
module Target : sig ... end
type auth_rule = Actor.spec * Action.t * Target.spec
val equal_auth_rule : auth_rule -> auth_rule -> Ppx_deriving_runtime.bool
val pp_auth_rule : Ppx_deriving_runtime.Format.formatter -> auth_rule -> Ppx_deriving_runtime.unit
val show_auth_rule : auth_rule -> Ppx_deriving_runtime.string
val compare_auth_rule : auth_rule -> auth_rule -> Ppx_deriving_runtime.int
type effect = Action.t * Target.spec
val equal_effect : effect -> effect -> Ppx_deriving_runtime.bool
val pp_effect : Ppx_deriving_runtime.Format.formatter -> effect -> Ppx_deriving_runtime.unit
val show_effect : effect -> Ppx_deriving_runtime.string
val compare_effect : effect -> effect -> Ppx_deriving_runtime.int
module Effect_set : sig ... end
val checker_of_rules : ?any_of:bool -> 'a Authorizable.t -> auth_rule list -> (unit, string) CCResult.t
module Auth_rule_set : sig ... end
module type Actor_module = sig ... end
module type Target_module = sig ... end
OCaml

Innovation. Community. Security.