package guardian

  1. Overview
  2. Docs
Role-based access control for OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.0.5.tar.gz
md5=46f14b1dac8c7b7a1521c15555465dde
sha512=c9e7edab3f72a8764a37328c75001f9b7fbcedb1b68ecf95daf53fed4f7a46e9ce1ebc9d5fa9ad46d25f759857a95e7000173eef808aa0459339637a66e945f1

doc/guardian.backend/Guardian_backend/MariaDb/Make/Guardian/Make_persistence/index.html

Module Guardian.Make_persistenceSource

Parameters

module Backend : sig ... end

Signature

type actor_role_set = ActorRoleSet.t
type actor_spec = Authorizer.Actor.spec
type auth_rule = Authorizer.auth_rule
type target_role_set = TargetRoleSet.t
type target_spec = Authorizer.Target.spec
type !'a authorizable = 'a Authorizable.t
type !'b authorizable_target = 'b AuthorizableTarget.t
type ('rv, 'err) monad = ('rv, 'err) Lwt_result.t
val find_migrations : unit -> (string * string * string) list
val find_clean : unit -> (string * string) list
val migrate : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clean : ?ctx:(string * string) list -> unit -> unit Lwt.t
Sourcemodule Actor : sig ... end
Sourcemodule Target : sig ... end
Sourceval wrap_function : ?ctx:(string * string) list -> (string -> 'etyp) -> ([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list -> ('param -> ('rval, 'etyp) monad) -> ('a authorizable -> 'param -> ('rval, 'etyp) monad, string) monad
Sourceval collect_rules : ?ctx:(string * string) list -> ([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list -> (auth_rule list, string) monad
Sourceval checker_of_effects : ?ctx:(string * string) list -> ([ `Create | `Read | `Update | `Delete | `Manage ] * target_spec) list -> 'a authorizable -> (unit, string) monad
Sourceval find_rules_exn : ?ctx:(string * string) list -> target_spec -> auth_rule list Lwt.t
Sourceval save_rule_exn : ?ctx:(string * string) list -> auth_rule -> unit Lwt.t
Sourceval delete_rule_exn : ?ctx:(string * string) list -> auth_rule -> unit Lwt.t
OCaml

Innovation. Community. Security.