From 94d605c2449d4d613cbba0e047bfa13975549a3d Mon Sep 17 00:00:00 2001 From: mabiede Date: Thu, 16 May 2024 07:07:39 +0000 Subject: [PATCH] deploy: 1120c32da7439294fb6e0eeabf013daceae7b210 --- guardian/Guardian/Contract/Uuid/Actor/index.html | 2 +- guardian/Guardian/Contract/Uuid/Target/index.html | 2 +- guardian/Guardian/Contract/Uuid/index.html | 2 +- guardian/Guardian/Contract/Uuid/module-type-Sig/index.html | 2 +- guardian/Guardian/Contract/index.html | 2 +- guardian/Guardian/Make/Actor/index.html | 2 +- guardian/Guardian/Make/ActorPermission/index.html | 2 +- guardian/Guardian/Make/ActorRole/index.html | 2 +- guardian/Guardian/Make/MakePersistence/Actor/index.html | 2 +- .../Guardian/Make/MakePersistence/ActorPermission/index.html | 2 +- guardian/Guardian/Make/MakePersistence/ActorRole/index.html | 2 +- .../Guardian/Make/MakePersistence/PermissionOnTarget/index.html | 2 +- guardian/Guardian/Make/MakePersistence/Repo/Actor/index.html | 2 +- .../Make/MakePersistence/Repo/ActorPermission/index.html | 2 +- .../Guardian/Make/MakePersistence/Repo/ActorRole/index.html | 2 +- guardian/Guardian/Make/MakePersistence/Repo/Model/index.html | 2 +- .../Make/MakePersistence/Repo/RoleAssignment/index.html | 2 +- .../Make/MakePersistence/Repo/RolePermission/index.html | 2 +- guardian/Guardian/Make/MakePersistence/Repo/Target/index.html | 2 +- guardian/Guardian/Make/MakePersistence/Repo/index.html | 2 +- .../Guardian/Make/MakePersistence/RoleAssignment/index.html | 2 +- .../Guardian/Make/MakePersistence/RolePermission/index.html | 2 +- guardian/Guardian/Make/MakePersistence/Target/index.html | 2 +- .../MakePersistence/argument-1-Backend/Repo/Actor/index.html | 2 +- .../argument-1-Backend/Repo/ActorPermission/index.html | 2 +- .../argument-1-Backend/Repo/ActorRole/index.html | 2 +- .../MakePersistence/argument-1-Backend/Repo/Model/index.html | 2 +- .../argument-1-Backend/Repo/RoleAssignment/index.html | 2 +- .../argument-1-Backend/Repo/RolePermission/index.html | 2 +- .../MakePersistence/argument-1-Backend/Repo/Target/index.html | 2 +- .../Make/MakePersistence/argument-1-Backend/Repo/index.html | 2 +- .../Guardian/Make/MakePersistence/argument-1-Backend/index.html | 2 +- guardian/Guardian/Make/MakePersistence/index.html | 2 +- guardian/Guardian/Make/Permission/index.html | 2 +- guardian/Guardian/Make/PermissionOnTarget/index.html | 2 +- guardian/Guardian/Make/RoleAssignment/index.html | 2 +- guardian/Guardian/Make/RolePermission/index.html | 2 +- guardian/Guardian/Make/Target/index.html | 2 +- guardian/Guardian/Make/TargetEntity/index.html | 2 +- guardian/Guardian/Make/Uuid/Actor/index.html | 2 +- guardian/Guardian/Make/Uuid/Target/index.html | 2 +- guardian/Guardian/Make/Uuid/index.html | 2 +- guardian/Guardian/Make/Uuid/module-type-Sig/index.html | 2 +- guardian/Guardian/Make/ValidationSet/index.html | 2 +- guardian/Guardian/Make/argument-1-ActorModel/index.html | 2 +- guardian/Guardian/Make/argument-2-Role/index.html | 2 +- guardian/Guardian/Make/argument-3-TargetModel/index.html | 2 +- guardian/Guardian/Make/index.html | 2 +- guardian/Guardian/Make/module-type-ActorSig/index.html | 2 +- .../Guardian/Make/module-type-PersistenceSig/Actor/index.html | 2 +- .../Make/module-type-PersistenceSig/ActorPermission/index.html | 2 +- .../Make/module-type-PersistenceSig/ActorRole/index.html | 2 +- .../module-type-PersistenceSig/PermissionOnTarget/index.html | 2 +- .../Make/module-type-PersistenceSig/Repo/Actor/index.html | 2 +- .../module-type-PersistenceSig/Repo/ActorPermission/index.html | 2 +- .../Make/module-type-PersistenceSig/Repo/ActorRole/index.html | 2 +- .../Make/module-type-PersistenceSig/Repo/Model/index.html | 2 +- .../module-type-PersistenceSig/Repo/RoleAssignment/index.html | 2 +- .../module-type-PersistenceSig/Repo/RolePermission/index.html | 2 +- .../Make/module-type-PersistenceSig/Repo/Target/index.html | 2 +- .../Guardian/Make/module-type-PersistenceSig/Repo/index.html | 2 +- .../Make/module-type-PersistenceSig/RoleAssignment/index.html | 2 +- .../Make/module-type-PersistenceSig/RolePermission/index.html | 2 +- .../Guardian/Make/module-type-PersistenceSig/Target/index.html | 2 +- guardian/Guardian/Make/module-type-PersistenceSig/index.html | 2 +- guardian/Guardian/Make/module-type-TargetSig/index.html | 2 +- guardian/Guardian/Utils/Dynparam/index.html | 2 +- guardian/Guardian/Utils/index.html | 2 +- guardian/Guardian/index.html | 2 +- guardian/Guardian/module-type-RoleSig/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Actor/index.html | 2 +- .../Guardian_backend/MariaDb/Make/ActorPermission/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/ActorRole/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/DBCache/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Entity/Actor/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Entity/ActorModel/index.html | 2 +- .../MariaDb/Make/Entity/ActorPermission/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Entity/ActorRole/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Entity/Permission/index.html | 2 +- .../MariaDb/Make/Entity/PermissionOnTarget/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Entity/Role/index.html | 2 +- .../MariaDb/Make/Entity/RoleAssignment/index.html | 2 +- .../MariaDb/Make/Entity/RolePermission/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Entity/Target/index.html | 2 +- .../MariaDb/Make/Entity/TargetEntity/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Entity/TargetModel/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Entity/Uuid/Actor/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Entity/Uuid/Target/index.html | 2 +- .../Make/Entity/Uuid/UuidBase/argument-1-Core/index.html | 2 +- .../MariaDb/Make/Entity/Uuid/UuidBase/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Entity/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Guard/Actor/index.html | 2 +- .../MariaDb/Make/Guard/ActorPermission/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Guard/ActorRole/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/Actor/index.html | 2 +- .../Make/Guard/MakePersistence/ActorPermission/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/ActorRole/index.html | 2 +- .../Make/Guard/MakePersistence/PermissionOnTarget/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/Repo/Actor/index.html | 2 +- .../Make/Guard/MakePersistence/Repo/ActorPermission/index.html | 2 +- .../Make/Guard/MakePersistence/Repo/ActorRole/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/Repo/Model/index.html | 2 +- .../Make/Guard/MakePersistence/Repo/RoleAssignment/index.html | 2 +- .../Make/Guard/MakePersistence/Repo/RolePermission/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/Repo/Target/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/Repo/index.html | 2 +- .../Make/Guard/MakePersistence/RoleAssignment/index.html | 2 +- .../Make/Guard/MakePersistence/RolePermission/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/Target/index.html | 2 +- .../MakePersistence/argument-1-Backend/Repo/Actor/index.html | 2 +- .../argument-1-Backend/Repo/ActorPermission/index.html | 2 +- .../argument-1-Backend/Repo/ActorRole/index.html | 2 +- .../MakePersistence/argument-1-Backend/Repo/Model/index.html | 2 +- .../argument-1-Backend/Repo/RoleAssignment/index.html | 2 +- .../argument-1-Backend/Repo/RolePermission/index.html | 2 +- .../MakePersistence/argument-1-Backend/Repo/Target/index.html | 2 +- .../Guard/MakePersistence/argument-1-Backend/Repo/index.html | 2 +- .../Make/Guard/MakePersistence/argument-1-Backend/index.html | 2 +- .../MariaDb/Make/Guard/MakePersistence/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Guard/Permission/index.html | 2 +- .../MariaDb/Make/Guard/PermissionOnTarget/index.html | 2 +- .../MariaDb/Make/Guard/RoleAssignment/index.html | 2 +- .../MariaDb/Make/Guard/RolePermission/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Guard/Target/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Guard/TargetEntity/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Guard/Uuid/Actor/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Guard/Uuid/Target/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/index.html | 2 +- .../MariaDb/Make/Guard/Uuid/module-type-Sig/index.html | 2 +- .../MariaDb/Make/Guard/ValidationSet/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Guard/index.html | 2 +- .../MariaDb/Make/Guard/module-type-ActorSig/index.html | 2 +- .../Make/Guard/module-type-PersistenceSig/Actor/index.html | 2 +- .../Guard/module-type-PersistenceSig/ActorPermission/index.html | 2 +- .../Make/Guard/module-type-PersistenceSig/ActorRole/index.html | 2 +- .../module-type-PersistenceSig/PermissionOnTarget/index.html | 2 +- .../Make/Guard/module-type-PersistenceSig/Repo/Actor/index.html | 2 +- .../module-type-PersistenceSig/Repo/ActorPermission/index.html | 2 +- .../Guard/module-type-PersistenceSig/Repo/ActorRole/index.html | 2 +- .../Make/Guard/module-type-PersistenceSig/Repo/Model/index.html | 2 +- .../module-type-PersistenceSig/Repo/RoleAssignment/index.html | 2 +- .../module-type-PersistenceSig/Repo/RolePermission/index.html | 2 +- .../Guard/module-type-PersistenceSig/Repo/Target/index.html | 2 +- .../Make/Guard/module-type-PersistenceSig/Repo/index.html | 2 +- .../Guard/module-type-PersistenceSig/RoleAssignment/index.html | 2 +- .../Guard/module-type-PersistenceSig/RolePermission/index.html | 2 +- .../Make/Guard/module-type-PersistenceSig/Target/index.html | 2 +- .../MariaDb/Make/Guard/module-type-PersistenceSig/index.html | 2 +- .../MariaDb/Make/Guard/module-type-TargetSig/index.html | 2 +- .../Guardian_backend/MariaDb/Make/PermissionOnTarget/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Repo/Actor/index.html | 2 +- .../MariaDb/Make/Repo/ActorPermission/index.html | 2 +- .../Guardian_backend/MariaDb/Make/Repo/ActorRole/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Repo/Model/index.html | 2 +- .../MariaDb/Make/Repo/RoleAssignment/index.html | 2 +- .../MariaDb/Make/Repo/RolePermission/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Repo/Target/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Repo/index.html | 2 +- .../Guardian_backend/MariaDb/Make/RoleAssignment/index.html | 2 +- .../Guardian_backend/MariaDb/Make/RolePermission/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/Target/index.html | 2 +- .../MariaDb/Make/argument-1-ActorModel/index.html | 2 +- .../Guardian_backend/MariaDb/Make/argument-2-Role/index.html | 2 +- .../MariaDb/Make/argument-3-TargetModel/index.html | 2 +- .../MariaDb/Make/argument-4-Database/index.html | 2 +- guardian/Guardian_backend/MariaDb/Make/index.html | 2 +- guardian/Guardian_backend/MariaDb/index.html | 2 +- guardian/Guardian_backend/Pools/DefaultConfig/index.html | 2 +- .../Guardian_backend/Pools/Make/argument-1-Config/index.html | 2 +- guardian/Guardian_backend/Pools/Make/index.html | 2 +- guardian/Guardian_backend/Pools/index.html | 2 +- .../Guardian_backend/Pools/module-type-ConfigSig/index.html | 2 +- guardian/Guardian_backend/Pools/module-type-Sig/index.html | 2 +- guardian/Guardian_backend/index.html | 2 +- guardian/index.html | 2 +- odoc.support/odoc.css | 2 +- 177 files changed, 177 insertions(+), 177 deletions(-) diff --git a/guardian/Guardian/Contract/Uuid/Actor/index.html b/guardian/Guardian/Contract/Uuid/Actor/index.html index 30fdfc4..bb22d41 100644 --- a/guardian/Guardian/Contract/Uuid/Actor/index.html +++ b/guardian/Guardian/Contract/Uuid/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian.Contract.Uuid.Actor)

Module Uuid.Actor

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Actor (guardian.Guardian.Contract.Uuid.Actor)

Module Uuid.Actor

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian/Contract/Uuid/Target/index.html b/guardian/Guardian/Contract/Uuid/Target/index.html index 151b164..7519eae 100644 --- a/guardian/Guardian/Contract/Uuid/Target/index.html +++ b/guardian/Guardian/Contract/Uuid/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian.Contract.Uuid.Target)

Module Uuid.Target

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Target (guardian.Guardian.Contract.Uuid.Target)

Module Uuid.Target

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian/Contract/Uuid/index.html b/guardian/Guardian/Contract/Uuid/index.html index cc7c9bf..aae2643 100644 --- a/guardian/Guardian/Contract/Uuid/index.html +++ b/guardian/Guardian/Contract/Uuid/index.html @@ -1,2 +1,2 @@ -Uuid (guardian.Guardian.Contract.Uuid)

Module Contract.Uuid

module type Sig = sig ... end
module Actor : Sig
module Target : Sig
+Uuid (guardian.Guardian.Contract.Uuid)

Module Contract.Uuid

module type Sig = sig ... end
module Actor : Sig
module Target : Sig
diff --git a/guardian/Guardian/Contract/Uuid/module-type-Sig/index.html b/guardian/Guardian/Contract/Uuid/module-type-Sig/index.html index 28ecc6c..b8868e0 100644 --- a/guardian/Guardian/Contract/Uuid/module-type-Sig/index.html +++ b/guardian/Guardian/Contract/Uuid/module-type-Sig/index.html @@ -1,2 +1,2 @@ -Sig (guardian.Guardian.Contract.Uuid.Sig)

Module type Uuid.Sig

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Sig (guardian.Guardian.Contract.Uuid.Sig)

Module type Uuid.Sig

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian/Contract/index.html b/guardian/Guardian/Contract/index.html index 81382bc..782d299 100644 --- a/guardian/Guardian/Contract/index.html +++ b/guardian/Guardian/Contract/index.html @@ -1,2 +1,2 @@ -Contract (guardian.Guardian.Contract)

Module Guardian.Contract

module Uuid : sig ... end
+Contract (guardian.Guardian.Contract)

Module Guardian.Contract

module Uuid : sig ... end
diff --git a/guardian/Guardian/Make/Actor/index.html b/guardian/Guardian/Make/Actor/index.html index 794b0fd..71a75ba 100644 --- a/guardian/Guardian/Make/Actor/index.html +++ b/guardian/Guardian/Make/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian.Make.Actor)

Module Make.Actor

type t = {
  1. uuid : Uuid.Actor.t;
  2. model : ActorModel.t;
}
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : ActorModel.t -> Uuid.Actor.t -> t
+Actor (guardian.Guardian.Make.Actor)

Module Make.Actor

type t = {
  1. uuid : Uuid.Actor.t;
  2. model : ActorModel.t;
}
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : ActorModel.t -> Uuid.Actor.t -> t
diff --git a/guardian/Guardian/Make/ActorPermission/index.html b/guardian/Guardian/Make/ActorPermission/index.html index 954e539..e8a4012 100644 --- a/guardian/Guardian/Make/ActorPermission/index.html +++ b/guardian/Guardian/Make/ActorPermission/index.html @@ -1,2 +1,2 @@ -ActorPermission (guardian.Guardian.Make.ActorPermission)

Module Make.ActorPermission

type t = {
  1. actor_uuid : Uuid.Actor.t;
  2. permission : Permission.t;
  3. target : TargetEntity.t;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create_for_model : Uuid.Actor.t -> Permission.t -> TargetModel.t -> t
val create_for_id : Uuid.Actor.t -> Permission.t -> Uuid.Target.t -> t
+ActorPermission (guardian.Guardian.Make.ActorPermission)

Module Make.ActorPermission

type t = {
  1. actor_uuid : Uuid.Actor.t;
  2. permission : Permission.t;
  3. target : TargetEntity.t;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create_for_model : Uuid.Actor.t -> Permission.t -> TargetModel.t -> t
val create_for_id : Uuid.Actor.t -> Permission.t -> Uuid.Target.t -> t
diff --git a/guardian/Guardian/Make/ActorRole/index.html b/guardian/Guardian/Make/ActorRole/index.html index 13d4473..e935dcb 100644 --- a/guardian/Guardian/Make/ActorRole/index.html +++ b/guardian/Guardian/Make/ActorRole/index.html @@ -1,2 +1,2 @@ -ActorRole (guardian.Guardian.Make.ActorRole)

Module Make.ActorRole

type t = {
  1. actor_uuid : Uuid.Actor.t;
  2. role : Role.t;
  3. target_uuid : Uuid.Target.t option;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Uuid.Actor.t -> Role.t -> t
val role_to_human : t -> string
+ActorRole (guardian.Guardian.Make.ActorRole)

Module Make.ActorRole

type t = {
  1. actor_uuid : Uuid.Actor.t;
  2. role : Role.t;
  3. target_uuid : Uuid.Target.t option;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Uuid.Actor.t -> Role.t -> t
val role_to_human : t -> string
diff --git a/guardian/Guardian/Make/MakePersistence/Actor/index.html b/guardian/Guardian/Make/MakePersistence/Actor/index.html index 420869b..43db138 100644 --- a/guardian/Guardian/Make/MakePersistence/Actor/index.html +++ b/guardian/Guardian/Make/MakePersistence/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian.Make.MakePersistence.Actor)

Module MakePersistence.Actor

include module type of Repo.Actor
val insert : +Actor (guardian.Guardian.Make.MakePersistence.Actor)

Module MakePersistence.Actor

include module type of Repo.Actor
val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/MakePersistence/ActorPermission/index.html b/guardian/Guardian/Make/MakePersistence/ActorPermission/index.html index 0f0942b..667e976 100644 --- a/guardian/Guardian/Make/MakePersistence/ActorPermission/index.html +++ b/guardian/Guardian/Make/MakePersistence/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian.Make.MakePersistence.ActorPermission)

Module MakePersistence.ActorPermission

include module type of Repo.ActorPermission
val insert : +ActorPermission (guardian.Guardian.Make.MakePersistence.ActorPermission)

Module MakePersistence.ActorPermission

include module type of Repo.ActorPermission
val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/MakePersistence/ActorRole/index.html b/guardian/Guardian/Make/MakePersistence/ActorRole/index.html index 6b5f822..b3fa7df 100644 --- a/guardian/Guardian/Make/MakePersistence/ActorRole/index.html +++ b/guardian/Guardian/Make/MakePersistence/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian.Make.MakePersistence.ActorRole)

Module MakePersistence.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian.Make.MakePersistence.ActorRole)

Module MakePersistence.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian/Make/MakePersistence/PermissionOnTarget/index.html b/guardian/Guardian/Make/MakePersistence/PermissionOnTarget/index.html index ffb7a2a..aab087a 100644 --- a/guardian/Guardian/Make/MakePersistence/PermissionOnTarget/index.html +++ b/guardian/Guardian/Make/MakePersistence/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian.Make.MakePersistence.PermissionOnTarget)

Module MakePersistence.PermissionOnTarget

val validate_set : +PermissionOnTarget (guardian.Guardian.Make.MakePersistence.PermissionOnTarget)

Module MakePersistence.PermissionOnTarget

val validate_set : ?any_id:bool -> permission_on_target list -> (string -> 'etyp) -> diff --git a/guardian/Guardian/Make/MakePersistence/Repo/Actor/index.html b/guardian/Guardian/Make/MakePersistence/Repo/Actor/index.html index 199cdd7..51e49b0 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/Actor/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian.Make.MakePersistence.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian.Make.MakePersistence.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/MakePersistence/Repo/ActorPermission/index.html b/guardian/Guardian/Make/MakePersistence/Repo/ActorPermission/index.html index 241bd8b..2677ad6 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/ActorPermission/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian.Make.MakePersistence.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian.Make.MakePersistence.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/MakePersistence/Repo/ActorRole/index.html b/guardian/Guardian/Make/MakePersistence/Repo/ActorRole/index.html index e67fc51..00fc585 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/ActorRole/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian.Make.MakePersistence.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian.Make.MakePersistence.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian/Make/MakePersistence/Repo/Model/index.html b/guardian/Guardian/Make/MakePersistence/Repo/Model/index.html index 01ca51e..d51a3fb 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/Model/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian.Make.MakePersistence.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian.Make.MakePersistence.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian/Make/MakePersistence/Repo/RoleAssignment/index.html b/guardian/Guardian/Make/MakePersistence/Repo/RoleAssignment/index.html index 8266c84..b384d62 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/RoleAssignment/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian.Make.MakePersistence.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian.Make.MakePersistence.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian/Make/MakePersistence/Repo/RolePermission/index.html b/guardian/Guardian/Make/MakePersistence/Repo/RolePermission/index.html index 11b65b6..afb6c94 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/RolePermission/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian.Make.MakePersistence.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian.Make.MakePersistence.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/MakePersistence/Repo/Target/index.html b/guardian/Guardian/Make/MakePersistence/Repo/Target/index.html index 7059338..38256f2 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/Target/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian.Make.MakePersistence.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian.Make.MakePersistence.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/MakePersistence/Repo/index.html b/guardian/Guardian/Make/MakePersistence/Repo/index.html index 45cf644..e23bde9 100644 --- a/guardian/Guardian/Make/MakePersistence/Repo/index.html +++ b/guardian/Guardian/Make/MakePersistence/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian.Make.MakePersistence.Repo)

Module MakePersistence.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian.Make.MakePersistence.Repo)

Module MakePersistence.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian/Make/MakePersistence/RoleAssignment/index.html b/guardian/Guardian/Make/MakePersistence/RoleAssignment/index.html index bb875cb..c93aee1 100644 --- a/guardian/Guardian/Make/MakePersistence/RoleAssignment/index.html +++ b/guardian/Guardian/Make/MakePersistence/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian.Make.MakePersistence.RoleAssignment)

Module MakePersistence.RoleAssignment

include module type of Repo.RoleAssignment
val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian.Make.MakePersistence.RoleAssignment)

Module MakePersistence.RoleAssignment

include module type of Repo.RoleAssignment
val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian/Make/MakePersistence/RolePermission/index.html b/guardian/Guardian/Make/MakePersistence/RolePermission/index.html index 67df4d8..862f028 100644 --- a/guardian/Guardian/Make/MakePersistence/RolePermission/index.html +++ b/guardian/Guardian/Make/MakePersistence/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian.Make.MakePersistence.RolePermission)

Module MakePersistence.RolePermission

include module type of Repo.RolePermission
val insert : +RolePermission (guardian.Guardian.Make.MakePersistence.RolePermission)

Module MakePersistence.RolePermission

include module type of Repo.RolePermission
val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/MakePersistence/Target/index.html b/guardian/Guardian/Make/MakePersistence/Target/index.html index 91ef1b3..f5e2e6e 100644 --- a/guardian/Guardian/Make/MakePersistence/Target/index.html +++ b/guardian/Guardian/Make/MakePersistence/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian.Make.MakePersistence.Target)

Module MakePersistence.Target

include module type of Repo.Target
val insert : +Target (guardian.Guardian.Make.MakePersistence.Target)

Module MakePersistence.Target

include module type of Repo.Target
val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Actor/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Actor/index.html index ab3fcac..34c29c3 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Actor/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian.Make.MakePersistence.Backend.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian.Make.MakePersistence.Backend.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html index cf87f05..b1bbb1f 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian.Make.MakePersistence.Backend.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian.Make.MakePersistence.Backend.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html index ec3494a..2b2791c 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian.Make.MakePersistence.Backend.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian.Make.MakePersistence.Backend.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Model/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Model/index.html index 4dab9d6..defa297 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Model/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian.Make.MakePersistence.Backend.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian.Make.MakePersistence.Backend.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html index b368ecc..f5893dc 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian.Make.MakePersistence.Backend.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian.Make.MakePersistence.Backend.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html index 10a00cb..33d0975 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian.Make.MakePersistence.Backend.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian.Make.MakePersistence.Backend.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Target/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Target/index.html index 951a66b..35a7b0e 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Target/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian.Make.MakePersistence.Backend.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian.Make.MakePersistence.Backend.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/index.html index 48be716..05dcb4a 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian.Make.MakePersistence.Backend.Repo)

Module Backend.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian.Make.MakePersistence.Backend.Repo)

Module Backend.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/index.html b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/index.html index dd4ab51..5818bf3 100644 --- a/guardian/Guardian/Make/MakePersistence/argument-1-Backend/index.html +++ b/guardian/Guardian/Make/MakePersistence/argument-1-Backend/index.html @@ -1,2 +1,2 @@ -Backend (guardian.Guardian.Make.MakePersistence.Backend)

Parameter MakePersistence.Backend

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
+Backend (guardian.Guardian.Make.MakePersistence.Backend)

Parameter MakePersistence.Backend

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
diff --git a/guardian/Guardian/Make/MakePersistence/index.html b/guardian/Guardian/Make/MakePersistence/index.html index 92b5992..174c731 100644 --- a/guardian/Guardian/Make/MakePersistence/index.html +++ b/guardian/Guardian/Make/MakePersistence/index.html @@ -1,5 +1,5 @@ -MakePersistence (guardian.Guardian.Make.MakePersistence)

Module Make.MakePersistence

Parameters

module Backend : sig ... end

Signature

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : module type of Repo.ActorRole
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : +MakePersistence (guardian.Guardian.Make.MakePersistence)

Module Make.MakePersistence

Parameters

module Backend : sig ... end

Signature

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : module type of Repo.ActorRole
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : ?ctx:(string * string) list -> (string -> 'etyp) -> validation_set -> diff --git a/guardian/Guardian/Make/Permission/index.html b/guardian/Guardian/Make/Permission/index.html index 6555dbc..cb94a28 100644 --- a/guardian/Guardian/Make/Permission/index.html +++ b/guardian/Guardian/Make/Permission/index.html @@ -1,2 +1,2 @@ -Permission (guardian.Guardian.Make.Permission)

Module Make.Permission

type t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
val equal : t -> t -> bool
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val of_string : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : matches:t -> t -> bool

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

+Permission (guardian.Guardian.Make.Permission)

Module Make.Permission

type t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
val equal : t -> t -> bool
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val of_string : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : matches:t -> t -> bool

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

diff --git a/guardian/Guardian/Make/PermissionOnTarget/index.html b/guardian/Guardian/Make/PermissionOnTarget/index.html index 1225aa9..44805e6 100644 --- a/guardian/Guardian/Make/PermissionOnTarget/index.html +++ b/guardian/Guardian/Make/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian.Make.PermissionOnTarget)

Module Make.PermissionOnTarget

type t = {
  1. permission : Permission.t;
  2. model : TargetModel.t;
  3. target_uuid : Uuid.Target.t option;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Permission.t -> TargetModel.t -> t
val of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val remove_duplicates : t list -> t list
val filter_permission_on_model : +PermissionOnTarget (guardian.Guardian.Make.PermissionOnTarget)

Module Make.PermissionOnTarget

type t = {
  1. permission : Permission.t;
  2. model : TargetModel.t;
  3. target_uuid : Uuid.Target.t option;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Permission.t -> TargetModel.t -> t
val of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val remove_duplicates : t list -> t list
val filter_permission_on_model : Permission.t -> TargetModel.t -> t list -> diff --git a/guardian/Guardian/Make/RoleAssignment/index.html b/guardian/Guardian/Make/RoleAssignment/index.html index 0e70ad9..bf73747 100644 --- a/guardian/Guardian/Make/RoleAssignment/index.html +++ b/guardian/Guardian/Make/RoleAssignment/index.html @@ -1,2 +1,2 @@ -RoleAssignment (guardian.Guardian.Make.RoleAssignment)

Module Make.RoleAssignment

type t = {
  1. role : Role.t;
  2. target_role : Role.t;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Role.t -> t
+RoleAssignment (guardian.Guardian.Make.RoleAssignment)

Module Make.RoleAssignment

type t = {
  1. role : Role.t;
  2. target_role : Role.t;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Role.t -> t
diff --git a/guardian/Guardian/Make/RolePermission/index.html b/guardian/Guardian/Make/RolePermission/index.html index edd4816..6e26785 100644 --- a/guardian/Guardian/Make/RolePermission/index.html +++ b/guardian/Guardian/Make/RolePermission/index.html @@ -1,2 +1,2 @@ -RolePermission (guardian.Guardian.Make.RolePermission)

Module Make.RolePermission

type t = {
  1. role : Role.t;
  2. permission : Permission.t;
  3. model : TargetModel.t;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Permission.t -> TargetModel.t -> t
+RolePermission (guardian.Guardian.Make.RolePermission)

Module Make.RolePermission

type t = {
  1. role : Role.t;
  2. permission : Permission.t;
  3. model : TargetModel.t;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Permission.t -> TargetModel.t -> t
diff --git a/guardian/Guardian/Make/Target/index.html b/guardian/Guardian/Make/Target/index.html index 4090e9e..dc71921 100644 --- a/guardian/Guardian/Make/Target/index.html +++ b/guardian/Guardian/Make/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian.Make.Target)

Module Make.Target

type t = {
  1. uuid : Uuid.Target.t;
  2. model : TargetModel.t;
}
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : TargetModel.t -> Uuid.Target.t -> t
+Target (guardian.Guardian.Make.Target)

Module Make.Target

type t = {
  1. uuid : Uuid.Target.t;
  2. model : TargetModel.t;
}
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : TargetModel.t -> Uuid.Target.t -> t
diff --git a/guardian/Guardian/Make/TargetEntity/index.html b/guardian/Guardian/Make/TargetEntity/index.html index 5be15ce..b232320 100644 --- a/guardian/Guardian/Make/TargetEntity/index.html +++ b/guardian/Guardian/Make/TargetEntity/index.html @@ -1,2 +1,2 @@ -TargetEntity (guardian.Guardian.Make.TargetEntity)

Module Make.TargetEntity

type t =
  1. | Model of TargetModel.t
  2. | Id of Uuid.Target.t
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val model : TargetModel.t -> t
val id : Uuid.Target.t -> t
val is_id : t -> bool
val find_id : t -> Uuid.Target.t option
+TargetEntity (guardian.Guardian.Make.TargetEntity)

Module Make.TargetEntity

type t =
  1. | Model of TargetModel.t
  2. | Id of Uuid.Target.t
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val model : TargetModel.t -> t
val id : Uuid.Target.t -> t
val is_id : t -> bool
val find_id : t -> Uuid.Target.t option
diff --git a/guardian/Guardian/Make/Uuid/Actor/index.html b/guardian/Guardian/Make/Uuid/Actor/index.html index c6247b4..c668f7e 100644 --- a/guardian/Guardian/Make/Uuid/Actor/index.html +++ b/guardian/Guardian/Make/Uuid/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian.Make.Uuid.Actor)

Module Uuid.Actor

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Actor (guardian.Guardian.Make.Uuid.Actor)

Module Uuid.Actor

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian/Make/Uuid/Target/index.html b/guardian/Guardian/Make/Uuid/Target/index.html index d03d96a..d627c7c 100644 --- a/guardian/Guardian/Make/Uuid/Target/index.html +++ b/guardian/Guardian/Make/Uuid/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian.Make.Uuid.Target)

Module Uuid.Target

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Target (guardian.Guardian.Make.Uuid.Target)

Module Uuid.Target

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian/Make/Uuid/index.html b/guardian/Guardian/Make/Uuid/index.html index c5c43dc..2eafc35 100644 --- a/guardian/Guardian/Make/Uuid/index.html +++ b/guardian/Guardian/Make/Uuid/index.html @@ -1,2 +1,2 @@ -Uuid (guardian.Guardian.Make.Uuid)

Module Make.Uuid

module type Sig = sig ... end
module Actor : Sig
module Target : Sig
+Uuid (guardian.Guardian.Make.Uuid)

Module Make.Uuid

module type Sig = sig ... end
module Actor : Sig
module Target : Sig
diff --git a/guardian/Guardian/Make/Uuid/module-type-Sig/index.html b/guardian/Guardian/Make/Uuid/module-type-Sig/index.html index 9e91972..5f327ed 100644 --- a/guardian/Guardian/Make/Uuid/module-type-Sig/index.html +++ b/guardian/Guardian/Make/Uuid/module-type-Sig/index.html @@ -1,2 +1,2 @@ -Sig (guardian.Guardian.Make.Uuid.Sig)

Module type Uuid.Sig

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Sig (guardian.Guardian.Make.Uuid.Sig)

Module type Uuid.Sig

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian/Make/ValidationSet/index.html b/guardian/Guardian/Make/ValidationSet/index.html index 2a37c3a..c772bfd 100644 --- a/guardian/Guardian/Make/ValidationSet/index.html +++ b/guardian/Guardian/Make/ValidationSet/index.html @@ -1,2 +1,2 @@ -ValidationSet (guardian.Guardian.Make.ValidationSet)

Module Make.ValidationSet

type t =
  1. | And of t list
  2. | Or of t list
  3. | One of PermissionOnTarget.t
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val and_ : t list -> t
val or_ : t list -> t
val one : PermissionOnTarget.t -> t
val one_of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val empty : t
+ValidationSet (guardian.Guardian.Make.ValidationSet)

Module Make.ValidationSet

type t =
  1. | And of t list
  2. | Or of t list
  3. | One of PermissionOnTarget.t
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val and_ : t list -> t
val or_ : t list -> t
val one : PermissionOnTarget.t -> t
val one_of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val empty : t
diff --git a/guardian/Guardian/Make/argument-1-ActorModel/index.html b/guardian/Guardian/Make/argument-1-ActorModel/index.html index 354f60b..33710bb 100644 --- a/guardian/Guardian/Make/argument-1-ActorModel/index.html +++ b/guardian/Guardian/Make/argument-1-ActorModel/index.html @@ -1,5 +1,5 @@ -ActorModel (guardian.Guardian.Make.ActorModel)

Parameter Make.ActorModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +ActorModel (guardian.Guardian.Make.ActorModel)

Parameter Make.ActorModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian/Make/argument-2-Role/index.html b/guardian/Guardian/Make/argument-2-Role/index.html index f58f8b3..687f7c8 100644 --- a/guardian/Guardian/Make/argument-2-Role/index.html +++ b/guardian/Guardian/Make/argument-2-Role/index.html @@ -1,5 +1,5 @@ -Role (guardian.Guardian.Make.Role)

Parameter Make.Role

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +Role (guardian.Guardian.Make.Role)

Parameter Make.Role

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian/Make/argument-3-TargetModel/index.html b/guardian/Guardian/Make/argument-3-TargetModel/index.html index 02cb882..222b9d4 100644 --- a/guardian/Guardian/Make/argument-3-TargetModel/index.html +++ b/guardian/Guardian/Make/argument-3-TargetModel/index.html @@ -1,5 +1,5 @@ -TargetModel (guardian.Guardian.Make.TargetModel)

Parameter Make.TargetModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +TargetModel (guardian.Guardian.Make.TargetModel)

Parameter Make.TargetModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian/Make/index.html b/guardian/Guardian/Make/index.html index a4b3c33..330a0e6 100644 --- a/guardian/Guardian/Make/index.html +++ b/guardian/Guardian/Make/index.html @@ -1,2 +1,2 @@ -Make (guardian.Guardian.Make)

Module Guardian.Make

Parameters

module Role : RoleSig

Signature

module Uuid : sig ... end
module Permission : sig ... end
module TargetEntity : sig ... end
module Actor : sig ... end
module ActorRole : sig ... end
module type ActorSig = sig ... end
module Target : sig ... end
module type TargetSig = sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module ValidationSet : sig ... end
module RoleAssignment : sig ... end
module type PersistenceSig = sig ... end
module MakePersistence (Backend : sig ... end) : PersistenceSig
+Make (guardian.Guardian.Make)

Module Guardian.Make

Parameters

module Role : RoleSig

Signature

module Uuid : sig ... end
module Permission : sig ... end
module TargetEntity : sig ... end
module Actor : sig ... end
module ActorRole : sig ... end
module type ActorSig = sig ... end
module Target : sig ... end
module type TargetSig = sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module ValidationSet : sig ... end
module RoleAssignment : sig ... end
module type PersistenceSig = sig ... end
module MakePersistence (Backend : sig ... end) : PersistenceSig
diff --git a/guardian/Guardian/Make/module-type-ActorSig/index.html b/guardian/Guardian/Make/module-type-ActorSig/index.html index afc7784..4723874 100644 --- a/guardian/Guardian/Make/module-type-ActorSig/index.html +++ b/guardian/Guardian/Make/module-type-ActorSig/index.html @@ -1,2 +1,2 @@ -ActorSig (guardian.Guardian.Make.ActorSig)

Module type Make.ActorSig

type t
val to_authorizable : ?ctx:context -> t -> (Actor.t, string) Lwt_result.t
+ActorSig (guardian.Guardian.Make.ActorSig)

Module type Make.ActorSig

type t
val to_authorizable : ?ctx:context -> t -> (Actor.t, string) Lwt_result.t
diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Actor/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Actor/index.html index a07fb30..8069af2 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Actor/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian.Make.PersistenceSig.Actor)

Module PersistenceSig.Actor

include module type of Repo.Actor
val insert : +Actor (guardian.Guardian.Make.PersistenceSig.Actor)

Module PersistenceSig.Actor

include module type of Repo.Actor
val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/ActorPermission/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/ActorPermission/index.html index c62e0a4..d660677 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/ActorPermission/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian.Make.PersistenceSig.ActorPermission)

Module PersistenceSig.ActorPermission

include module type of Repo.ActorPermission
val insert : +ActorPermission (guardian.Guardian.Make.PersistenceSig.ActorPermission)

Module PersistenceSig.ActorPermission

include module type of Repo.ActorPermission
val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/ActorRole/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/ActorRole/index.html index eb6bfce..f3e0f9b 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/ActorRole/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian.Make.PersistenceSig.ActorRole)

Module PersistenceSig.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian.Make.PersistenceSig.ActorRole)

Module PersistenceSig.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/PermissionOnTarget/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/PermissionOnTarget/index.html index e35a5e6..f7d08df 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/PermissionOnTarget/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian.Make.PersistenceSig.PermissionOnTarget)

Module PersistenceSig.PermissionOnTarget

val validate_set : +PermissionOnTarget (guardian.Guardian.Make.PersistenceSig.PermissionOnTarget)

Module PersistenceSig.PermissionOnTarget

val validate_set : ?any_id:bool -> permission_on_target list -> (string -> 'etyp) -> diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Actor/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Actor/index.html index 72fc454..2f95747 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Actor/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian.Make.PersistenceSig.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian.Make.PersistenceSig.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorPermission/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorPermission/index.html index 9b339c2..0d3254f 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorPermission/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian.Make.PersistenceSig.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian.Make.PersistenceSig.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorRole/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorRole/index.html index 1b7d8ee..f603ba0 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorRole/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian.Make.PersistenceSig.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian.Make.PersistenceSig.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Model/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Model/index.html index e3c659c..79aca40 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Model/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian.Make.PersistenceSig.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian.Make.PersistenceSig.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RoleAssignment/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RoleAssignment/index.html index cc6cf0b..e941928 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RoleAssignment/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian.Make.PersistenceSig.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian.Make.PersistenceSig.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RolePermission/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RolePermission/index.html index 58538ba..55f4b0c 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RolePermission/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian.Make.PersistenceSig.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian.Make.PersistenceSig.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Target/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Target/index.html index aed55e0..38de7f6 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Target/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian.Make.PersistenceSig.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian.Make.PersistenceSig.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/index.html index a8a2fd0..5ed6d60 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Repo/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian.Make.PersistenceSig.Repo)

Module PersistenceSig.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian.Make.PersistenceSig.Repo)

Module PersistenceSig.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/RoleAssignment/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/RoleAssignment/index.html index a271946..ecbf444 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/RoleAssignment/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian.Make.PersistenceSig.RoleAssignment)

Module PersistenceSig.RoleAssignment

include module type of Repo.RoleAssignment
val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian.Make.PersistenceSig.RoleAssignment)

Module PersistenceSig.RoleAssignment

include module type of Repo.RoleAssignment
val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/RolePermission/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/RolePermission/index.html index 953be44..262e51d 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/RolePermission/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian.Make.PersistenceSig.RolePermission)

Module PersistenceSig.RolePermission

include module type of Repo.RolePermission
val insert : +RolePermission (guardian.Guardian.Make.PersistenceSig.RolePermission)

Module PersistenceSig.RolePermission

include module type of Repo.RolePermission
val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/Target/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/Target/index.html index 4a867de..13197cd 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/Target/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian.Make.PersistenceSig.Target)

Module PersistenceSig.Target

include module type of Repo.Target
val insert : +Target (guardian.Guardian.Make.PersistenceSig.Target)

Module PersistenceSig.Target

include module type of Repo.Target
val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian/Make/module-type-PersistenceSig/index.html b/guardian/Guardian/Make/module-type-PersistenceSig/index.html index 53787b9..8b09758 100644 --- a/guardian/Guardian/Make/module-type-PersistenceSig/index.html +++ b/guardian/Guardian/Make/module-type-PersistenceSig/index.html @@ -1,5 +1,5 @@ -PersistenceSig (guardian.Guardian.Make.PersistenceSig)

Module type Make.PersistenceSig

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : module type of Repo.ActorRole
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : +PersistenceSig (guardian.Guardian.Make.PersistenceSig)

Module type Make.PersistenceSig

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : module type of Repo.ActorRole
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : ?ctx:(string * string) list -> (string -> 'etyp) -> validation_set -> diff --git a/guardian/Guardian/Make/module-type-TargetSig/index.html b/guardian/Guardian/Make/module-type-TargetSig/index.html index 1c633cd..caec4f1 100644 --- a/guardian/Guardian/Make/module-type-TargetSig/index.html +++ b/guardian/Guardian/Make/module-type-TargetSig/index.html @@ -1,2 +1,2 @@ -TargetSig (guardian.Guardian.Make.TargetSig)

Module type Make.TargetSig

type t
val to_authorizable : ?ctx:context -> t -> (Target.t, string) Lwt_result.t
+TargetSig (guardian.Guardian.Make.TargetSig)

Module type Make.TargetSig

type t
val to_authorizable : ?ctx:context -> t -> (Target.t, string) Lwt_result.t
diff --git a/guardian/Guardian/Utils/Dynparam/index.html b/guardian/Guardian/Utils/Dynparam/index.html index 35cfebb..6e5d146 100644 --- a/guardian/Guardian/Utils/Dynparam/index.html +++ b/guardian/Guardian/Utils/Dynparam/index.html @@ -1,2 +1,2 @@ -Dynparam (guardian.Guardian.Utils.Dynparam)

Module Utils.Dynparam

type t =
  1. | Pack : 'a Caqti_type.t * 'a -> t
val empty : t
val add : 'a Caqti_type.t -> 'a -> t -> t
+Dynparam (guardian.Guardian.Utils.Dynparam)

Module Utils.Dynparam

type t =
  1. | Pack : 'a Caqti_type.t * 'a -> t
val empty : t
val add : 'a Caqti_type.t -> 'a -> t -> t
diff --git a/guardian/Guardian/Utils/index.html b/guardian/Guardian/Utils/index.html index ab965ef..e97abe9 100644 --- a/guardian/Guardian/Utils/index.html +++ b/guardian/Guardian/Utils/index.html @@ -1,5 +1,5 @@ -Utils (guardian.Guardian.Utils)

Module Guardian.Utils

val with_exn : +Utils (guardian.Guardian.Utils)

Module Guardian.Utils

val with_exn : ?ctx:'a -> (?ctx:'a -> 'b -> ('c, string) Stdlib.result Lwt.t) -> string -> diff --git a/guardian/Guardian/index.html b/guardian/Guardian/index.html index 76c0f8f..58c6ce2 100644 --- a/guardian/Guardian/index.html +++ b/guardian/Guardian/index.html @@ -1,5 +1,5 @@ -Guardian (guardian.Guardian)

Module Guardian

type context = (string * string) list
module type RoleSig = sig ... end
module Utils : sig ... end
module Contract : sig ... end
module Make +Guardian (guardian.Guardian)

Module Guardian

type context = (string * string) list
module type RoleSig = sig ... end
module Utils : sig ... end
module Contract : sig ... end
module Make (ActorModel : RoleSig) (Role : RoleSig) (TargetModel : RoleSig) : diff --git a/guardian/Guardian/module-type-RoleSig/index.html b/guardian/Guardian/module-type-RoleSig/index.html index b076512..18a50cf 100644 --- a/guardian/Guardian/module-type-RoleSig/index.html +++ b/guardian/Guardian/module-type-RoleSig/index.html @@ -1,5 +1,5 @@ -RoleSig (guardian.Guardian.RoleSig)

Module type Guardian.RoleSig

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +RoleSig (guardian.Guardian.RoleSig)

Module type Guardian.RoleSig

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian_backend/MariaDb/Make/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Actor/index.html index 3ff04bb..caf2be5 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Actor)

Module Make.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Actor)

Module Make.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/ActorPermission/index.html index 464d66f..8bf6b30 100644 --- a/guardian/Guardian_backend/MariaDb/Make/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.ActorPermission)

Module Make.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.ActorPermission)

Module Make.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/ActorRole/index.html index baa3813..de659fe 100644 --- a/guardian/Guardian_backend/MariaDb/Make/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.ActorRole)

Module Make.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.ActorRole)

Module Make.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/DBCache/index.html b/guardian/Guardian_backend/MariaDb/Make/DBCache/index.html index 51567b7..5866f87 100644 --- a/guardian/Guardian_backend/MariaDb/Make/DBCache/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/DBCache/index.html @@ -1,5 +1,5 @@ -DBCache (guardian.Guardian_backend.MariaDb.Make.DBCache)

Module Make.DBCache

val equal_validate : +DBCache (guardian.Guardian_backend.MariaDb.Make.DBCache)

Module Make.DBCache

val equal_validate : ((string * string) list CCOption.t * CCBool.t CCOption.t * Guard.Uuid.Actor.t diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Actor/index.html index daa8e15..1216f48 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Entity.Actor)

Module Entity.Actor

include module type of struct include Guard.Actor end
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : ActorModel.t -> Guard.Uuid.Actor.t -> t
val t : t Caqti_type.t
+Actor (guardian.Guardian_backend.MariaDb.Make.Entity.Actor)

Module Entity.Actor

include module type of struct include Guard.Actor end
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : ActorModel.t -> Guard.Uuid.Actor.t -> t
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/ActorModel/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/ActorModel/index.html index 970ded0..e609592 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/ActorModel/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/ActorModel/index.html @@ -1,5 +1,5 @@ -ActorModel (guardian.Guardian_backend.MariaDb.Make.Entity.ActorModel)

Module Entity.ActorModel

include module type of struct include ActorModel end
type t = ActorModel.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +ActorModel (guardian.Guardian_backend.MariaDb.Make.Entity.ActorModel)

Module Entity.ActorModel

include module type of struct include ActorModel end
type t = ActorModel.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/ActorPermission/index.html index 2d0e142..52ed1db 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Entity.ActorPermission)

Module Entity.ActorPermission

include module type of struct include Guard.ActorPermission end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create_for_model : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Entity.ActorPermission)

Module Entity.ActorPermission

include module type of struct include Guard.ActorPermission end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create_for_model : Guard.Uuid.Actor.t -> Guard.Permission.t -> TargetModel.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/ActorRole/index.html index 71e1354..911d7d2 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Entity.ActorRole)

Module Entity.ActorRole

include module type of struct include Guard.ActorRole end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Entity.ActorRole)

Module Entity.ActorRole

include module type of struct include Guard.ActorRole end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Guard.Uuid.Target.t -> Guard.Uuid.Actor.t -> Role.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Permission/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Permission/index.html index fb8966b..cdea7b9 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Permission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Permission/index.html @@ -1,2 +1,2 @@ -Permission (guardian.Guardian_backend.MariaDb.Make.Entity.Permission)

Module Entity.Permission

include module type of struct include Guard.Permission end
type t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
val equal : t -> t -> bool
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val of_string : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : matches:t -> t -> bool

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

val t : Guard.Permission.t Caqti_type.t
+Permission (guardian.Guardian_backend.MariaDb.Make.Entity.Permission)

Module Entity.Permission

include module type of struct include Guard.Permission end
type t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
val equal : t -> t -> bool
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val of_string : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : matches:t -> t -> bool

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

val t : Guard.Permission.t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/PermissionOnTarget/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/PermissionOnTarget/index.html index 0a2a2ae..f63877f 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/PermissionOnTarget/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Entity.PermissionOnTarget)

Module Entity.PermissionOnTarget

include module type of struct include Guard.PermissionOnTarget end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : +PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Entity.PermissionOnTarget)

Module Entity.PermissionOnTarget

include module type of struct include Guard.PermissionOnTarget end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Guard.Uuid.Target.t -> Guard.Permission.t -> TargetModel.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Role/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Role/index.html index f048cb1..ef2d8b4 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Role/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Role/index.html @@ -1,5 +1,5 @@ -Role (guardian.Guardian_backend.MariaDb.Make.Entity.Role)

Module Entity.Role

include module type of struct include Role end
type t = Role.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +Role (guardian.Guardian_backend.MariaDb.Make.Entity.Role)

Module Entity.Role

include module type of struct include Role end
type t = Role.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/RoleAssignment/index.html index 1240999..bfc5817 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/RoleAssignment/index.html @@ -1,2 +1,2 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Entity.RoleAssignment)

Module Entity.RoleAssignment

include module type of struct include Guard.RoleAssignment end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Role.t -> t
val t : t Caqti_type.t
+RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Entity.RoleAssignment)

Module Entity.RoleAssignment

include module type of struct include Guard.RoleAssignment end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Role.t -> t
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/RolePermission/index.html index 07c08b1..9718ce1 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/RolePermission/index.html @@ -1,2 +1,2 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Entity.RolePermission)

Module Entity.RolePermission

include module type of struct include Guard.RolePermission end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val t : t Caqti_type.t
+RolePermission (guardian.Guardian_backend.MariaDb.Make.Entity.RolePermission)

Module Entity.RolePermission

include module type of struct include Guard.RolePermission end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Target/index.html index c390c0b..23c3755 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Entity.Target)

Module Entity.Target

include module type of struct include Guard.Target end
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val t : t Caqti_type.t
+Target (guardian.Guardian_backend.MariaDb.Make.Entity.Target)

Module Entity.Target

include module type of struct include Guard.Target end
val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/TargetEntity/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/TargetEntity/index.html index 5fcc022..2ac6fda 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/TargetEntity/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/TargetEntity/index.html @@ -1,2 +1,2 @@ -TargetEntity (guardian.Guardian_backend.MariaDb.Make.Entity.TargetEntity)

Module Entity.TargetEntity

include module type of struct include Guard.TargetEntity end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val model : TargetModel.t -> t
val is_id : t -> bool
val find_id : t -> Guard.Uuid.Target.t option
val t : Guard.TargetEntity.t Caqti_type.t
+TargetEntity (guardian.Guardian_backend.MariaDb.Make.Entity.TargetEntity)

Module Entity.TargetEntity

include module type of struct include Guard.TargetEntity end
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val model : TargetModel.t -> t
val is_id : t -> bool
val find_id : t -> Guard.Uuid.Target.t option
val t : Guard.TargetEntity.t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/TargetModel/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/TargetModel/index.html index b03c118..9fe122f 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/TargetModel/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/TargetModel/index.html @@ -1,5 +1,5 @@ -TargetModel (guardian.Guardian_backend.MariaDb.Make.Entity.TargetModel)

Module Entity.TargetModel

include module type of struct include TargetModel end
type t = TargetModel.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +TargetModel (guardian.Guardian_backend.MariaDb.Make.Entity.TargetModel)

Module Entity.TargetModel

include module type of struct include TargetModel end
type t = TargetModel.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Actor/index.html index bf73339..1367565 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.Actor)

Module Uuid.Actor

val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
val t : t Caqti_type.t
+Actor (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.Actor)

Module Uuid.Actor

val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Target/index.html index a61a6a3..5d38f94 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.Target)

Module Uuid.Target

val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
val t : t Caqti_type.t
+Target (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.Target)

Module Uuid.Target

val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/argument-1-Core/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/argument-1-Core/index.html index f3e1069..c8f4746 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/argument-1-Core/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/argument-1-Core/index.html @@ -1,2 +1,2 @@ -Core (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.UuidBase.Core)

Parameter UuidBase.Core

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Core (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.UuidBase.Core)

Parameter UuidBase.Core

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/index.html index 9e883b1..0ea1bea 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/UuidBase/index.html @@ -1,2 +1,2 @@ -UuidBase (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.UuidBase)

Module Uuid.UuidBase

Parameters

Signature

include module type of struct include Core end
type t = Core.t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
val t : t Caqti_type.t
+UuidBase (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid.UuidBase)

Module Uuid.UuidBase

Parameters

Signature

include module type of struct include Core end
type t = Core.t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
val t : t Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/index.html index 6f431b0..4ff2cfa 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/Uuid/index.html @@ -1,2 +1,2 @@ -Uuid (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid)

Module Entity.Uuid

val sql_select_fragment : string -> string
val sql_value_fragment : string -> string
module UuidBase (Core : Guard.Uuid.Sig) : sig ... end
module Actor : sig ... end
module Target : sig ... end
+Uuid (guardian.Guardian_backend.MariaDb.Make.Entity.Uuid)

Module Entity.Uuid

val sql_select_fragment : string -> string
val sql_value_fragment : string -> string
module UuidBase (Core : Guard.Uuid.Sig) : sig ... end
module Actor : sig ... end
module Target : sig ... end
diff --git a/guardian/Guardian_backend/MariaDb/Make/Entity/index.html b/guardian/Guardian_backend/MariaDb/Make/Entity/index.html index a53217b..e2bf43e 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Entity/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Entity/index.html @@ -1,2 +1,2 @@ -Entity (guardian.Guardian_backend.MariaDb.Make.Entity)

Module Make.Entity

module Uuid : sig ... end
module Role : sig ... end
module ActorModel : sig ... end
module TargetModel : sig ... end
module Permission : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module TargetEntity : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
+Entity (guardian.Guardian_backend.MariaDb.Make.Entity)

Module Make.Entity

module Uuid : sig ... end
module Role : sig ... end
module ActorModel : sig ... end
module TargetModel : sig ... end
module Permission : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module TargetEntity : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Actor/index.html index 468a7fb..7244d69 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.Actor)

Module Guard.Actor

val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : ActorModel.t -> Uuid.Actor.t -> t
+Actor (guardian.Guardian_backend.MariaDb.Make.Guard.Actor)

Module Guard.Actor

val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : ActorModel.t -> Uuid.Actor.t -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/ActorPermission/index.html index bec9b6a..5623cab 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/ActorPermission/index.html @@ -1,2 +1,2 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.ActorPermission)

Module Guard.ActorPermission

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create_for_model : Uuid.Actor.t -> Permission.t -> TargetModel.t -> t
val create_for_id : Uuid.Actor.t -> Permission.t -> Uuid.Target.t -> t
+ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.ActorPermission)

Module Guard.ActorPermission

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create_for_model : Uuid.Actor.t -> Permission.t -> TargetModel.t -> t
val create_for_id : Uuid.Actor.t -> Permission.t -> Uuid.Target.t -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/ActorRole/index.html index 7cbcdfc..f27f821 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/ActorRole/index.html @@ -1,2 +1,2 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.ActorRole)

Module Guard.ActorRole

type t = Guardian.Make(ActorModel)(Role)(TargetModel).ActorRole.t = {
  1. actor_uuid : Uuid.Actor.t;
  2. role : Role.t;
  3. target_uuid : Uuid.Target.t option;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Uuid.Actor.t -> Role.t -> t
val role_to_human : t -> string
+ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.ActorRole)

Module Guard.ActorRole

type t = Guardian.Make(ActorModel)(Role)(TargetModel).ActorRole.t = {
  1. actor_uuid : Uuid.Actor.t;
  2. role : Role.t;
  3. target_uuid : Uuid.Target.t option;
}
val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Uuid.Actor.t -> Role.t -> t
val role_to_human : t -> string
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Actor/index.html index 61dce6b..493eef1 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Actor)

Module MakePersistence.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Actor)

Module MakePersistence.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorPermission/index.html index bf3970c..f882490 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.ActorPermission)

Module MakePersistence.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.ActorPermission)

Module MakePersistence.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorRole/index.html index 0d98ab3..c0bd9f4 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.ActorRole)

Module MakePersistence.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.ActorRole)

Module MakePersistence.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/PermissionOnTarget/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/PermissionOnTarget/index.html index c5514ac..a4a232d 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/PermissionOnTarget/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.PermissionOnTarget)

Module MakePersistence.PermissionOnTarget

val validate_set : +PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.PermissionOnTarget)

Module MakePersistence.PermissionOnTarget

val validate_set : ?any_id:bool -> permission_on_target list -> (string -> 'etyp) -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Actor/index.html index fa95985..34950da 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorPermission/index.html index d73889a..30940a3 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorRole/index.html index 18b87f3..0398021 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Model/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Model/index.html index a29a0ee..e22ce46 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Model/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RoleAssignment/index.html index 7a4f21c..fd0a59d 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RolePermission/index.html index e7eb191..6262d68 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Target/index.html index 62c68fa..e00565a 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/index.html index 5883122..4b3e115 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo)

Module MakePersistence.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Repo)

Module MakePersistence.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RoleAssignment/index.html index a20cf45..96489be 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.RoleAssignment)

Module MakePersistence.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.RoleAssignment)

Module MakePersistence.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RolePermission/index.html index 08f5167..8c4bacb 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.RolePermission)

Module MakePersistence.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.RolePermission)

Module MakePersistence.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Target/index.html index 9f129e9..e2d05ba 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Target)

Module MakePersistence.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Target)

Module MakePersistence.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Actor/index.html index 458cb98..254ef94 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html index 8eff9e5..5b0ecd5 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html index ab3271b..9e84bbe 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Model/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Model/index.html index debb7e0..9ba4489 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Model/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html index 6d27482..be9474f 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html index c060a32..5e1fc1c 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Target/index.html index aa37212..414aa24 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/index.html index 11ede75..566ca3e 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo)

Module Backend.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend.Repo)

Module Backend.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/index.html index d7e3692..070df86 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/argument-1-Backend/index.html @@ -1,2 +1,2 @@ -Backend (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend)

Parameter MakePersistence.Backend

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
+Backend (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence.Backend)

Parameter MakePersistence.Backend

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/index.html index cb0a1dd..90b260d 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/MakePersistence/index.html @@ -1,5 +1,5 @@ -MakePersistence (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence)

Module Guard.MakePersistence

Parameters

module Backend : sig ... end

Signature

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : +MakePersistence (guardian.Guardian_backend.MariaDb.Make.Guard.MakePersistence)

Module Guard.MakePersistence

Parameters

module Backend : sig ... end

Signature

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : ?ctx:(string * string) list -> (string -> 'etyp) -> validation_set -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Permission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Permission/index.html index 4660d15..4c0438f 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Permission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Permission/index.html @@ -1,2 +1,2 @@ -Permission (guardian.Guardian_backend.MariaDb.Make.Guard.Permission)

Module Guard.Permission

type t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
val equal : t -> t -> bool
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val of_string : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : matches:t -> t -> bool

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

+Permission (guardian.Guardian_backend.MariaDb.Make.Guard.Permission)

Module Guard.Permission

type t =
  1. | Create
  2. | Read
  3. | Update
  4. | Delete
  5. | Manage
val equal : t -> t -> bool
val compare : t -> t -> int
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val of_string : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val is_valid : matches:t -> t -> bool

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

diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/PermissionOnTarget/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/PermissionOnTarget/index.html index 0aaf8c0..8abcca3 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/PermissionOnTarget/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Guard.PermissionOnTarget)

Module Guard.PermissionOnTarget

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Permission.t -> TargetModel.t -> t
val of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val remove_duplicates : t list -> t list
val filter_permission_on_model : +PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Guard.PermissionOnTarget)

Module Guard.PermissionOnTarget

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : ?target_uuid:Uuid.Target.t -> Permission.t -> TargetModel.t -> t
val of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val remove_duplicates : t list -> t list
val filter_permission_on_model : Permission.t -> TargetModel.t -> t list -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/RoleAssignment/index.html index 666025c..a8ece4e 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/RoleAssignment/index.html @@ -1,2 +1,2 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.RoleAssignment)

Module Guard.RoleAssignment

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Role.t -> t
+RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.RoleAssignment)

Module Guard.RoleAssignment

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Role.t -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/RolePermission/index.html index 3423978..72c8a18 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/RolePermission/index.html @@ -1,2 +1,2 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.RolePermission)

Module Guard.RolePermission

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Permission.t -> TargetModel.t -> t
+RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.RolePermission)

Module Guard.RolePermission

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : Role.t -> Permission.t -> TargetModel.t -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Target/index.html index f6faec6..73536e0 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.Target)

Module Guard.Target

val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : TargetModel.t -> Uuid.Target.t -> t
+Target (guardian.Guardian_backend.MariaDb.Make.Guard.Target)

Module Guard.Target

val equal : t -> t -> bool
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val show : t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val create : TargetModel.t -> Uuid.Target.t -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/TargetEntity/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/TargetEntity/index.html index a9586d8..c18a13e 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/TargetEntity/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/TargetEntity/index.html @@ -1,2 +1,2 @@ -TargetEntity (guardian.Guardian_backend.MariaDb.Make.Guard.TargetEntity)

Module Guard.TargetEntity

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val model : TargetModel.t -> t
val id : Uuid.Target.t -> t
val is_id : t -> bool
val find_id : t -> Uuid.Target.t option
+TargetEntity (guardian.Guardian_backend.MariaDb.Make.Guard.TargetEntity)

Module Guard.TargetEntity

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val model : TargetModel.t -> t
val id : Uuid.Target.t -> t
val is_id : t -> bool
val find_id : t -> Uuid.Target.t option
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Actor/index.html index 0fe83d6..db42b46 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Actor/index.html @@ -1,2 +1,2 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid.Actor)

Module Uuid.Actor

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Actor (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid.Actor)

Module Uuid.Actor

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Target/index.html index b16c6b8..39d4372 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/Target/index.html @@ -1,2 +1,2 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid.Target)

Module Uuid.Target

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Target (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid.Target)

Module Uuid.Target

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/index.html index 4ef1899..0ab84f4 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/index.html @@ -1,2 +1,2 @@ -Uuid (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid)

Module Guard.Uuid

module type Sig = sig ... end
module Actor : Sig
module Target : Sig
+Uuid (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid)

Module Guard.Uuid

module type Sig = sig ... end
module Actor : Sig
module Target : Sig
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/module-type-Sig/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/module-type-Sig/index.html index bc04844..7ea7d8d 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/module-type-Sig/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/Uuid/module-type-Sig/index.html @@ -1,2 +1,2 @@ -Sig (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid.Sig)

Module type Uuid.Sig

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
+Sig (guardian.Guardian_backend.MariaDb.Make.Guard.Uuid.Sig)

Module type Uuid.Sig

type t
val nil : t
val ns_dns : t
val ns_url : t
val ns_oid : t
val ns_X500 : t
val equal : t -> t -> bool
val compare : t -> t -> int
val of_bytes : ?pos:int -> string -> t option
val to_bytes : t -> string
val of_mixed_endian_bytes : ?pos:int -> string -> t option
val to_mixed_endian_bytes : t -> string
val unsafe_of_bytes : string -> t
val unsafe_to_bytes : t -> string
val of_string : ?pos:int -> string -> t option
val to_string : ?upper:bool -> t -> string
val pp : Stdlib.Format.formatter -> t -> unit
val pp_string : ?upper:bool -> Stdlib.Format.formatter -> t -> unit
val to_yojson : t -> [> `String of string ]
val of_yojson : [> `String of string ] -> (t, string) Stdlib.result
val of_string_exn : string -> t
val sexp_of_t : t -> Sexplib0.Sexp.t
val create : unit -> t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/ValidationSet/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/ValidationSet/index.html index 5bd278a..5002a02 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/ValidationSet/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/ValidationSet/index.html @@ -1,2 +1,2 @@ -ValidationSet (guardian.Guardian_backend.MariaDb.Make.Guard.ValidationSet)

Module Guard.ValidationSet

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val and_ : t list -> t
val or_ : t list -> t
val one : PermissionOnTarget.t -> t
val one_of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val empty : t
+ValidationSet (guardian.Guardian_backend.MariaDb.Make.Guard.ValidationSet)

Module Guard.ValidationSet

val equal : t -> t -> bool
val pp : Stdlib.Format.formatter -> t -> unit
val show : t -> string
val compare : t -> t -> int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val sexp_of_t : t -> Sexplib0.Sexp.t
val and_ : t list -> t
val or_ : t list -> t
val one : PermissionOnTarget.t -> t
val one_of_tuple : (Permission.t * TargetModel.t * Uuid.Target.t option) -> t
val empty : t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/index.html index e9d72c1..a7f070a 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/index.html @@ -1,2 +1,2 @@ -Guard (guardian.Guardian_backend.MariaDb.Make.Guard)

Module Make.Guard

module Uuid : sig ... end
module Permission : sig ... end
module TargetEntity : sig ... end
module Actor : sig ... end
module ActorRole : sig ... end
module type ActorSig = sig ... end
module Target : sig ... end
module type TargetSig = sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module ValidationSet : sig ... end
module RoleAssignment : sig ... end
module type PersistenceSig = sig ... end
module MakePersistence (Backend : sig ... end) : sig ... end
+Guard (guardian.Guardian_backend.MariaDb.Make.Guard)

Module Make.Guard

module Uuid : sig ... end
module Permission : sig ... end
module TargetEntity : sig ... end
module Actor : sig ... end
module ActorRole : sig ... end
module type ActorSig = sig ... end
module Target : sig ... end
module type TargetSig = sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module ValidationSet : sig ... end
module RoleAssignment : sig ... end
module type PersistenceSig = sig ... end
module MakePersistence (Backend : sig ... end) : sig ... end
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-ActorSig/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-ActorSig/index.html index 67b7ee4..7d5d675 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-ActorSig/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-ActorSig/index.html @@ -1,5 +1,5 @@ -ActorSig (guardian.Guardian_backend.MariaDb.Make.Guard.ActorSig)

Module type Guard.ActorSig

type t
val to_authorizable : +ActorSig (guardian.Guardian_backend.MariaDb.Make.Guard.ActorSig)

Module type Guard.ActorSig

type t
val to_authorizable : ?ctx:Guardian.context -> t -> (Actor.t, string) Lwt_result.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Actor/index.html index bf4b414..a598e9b 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Actor)

Module PersistenceSig.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Actor)

Module PersistenceSig.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorPermission/index.html index d630c4b..34342c4 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.ActorPermission)

Module PersistenceSig.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.ActorPermission)

Module PersistenceSig.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorRole/index.html index 0781c95..3769987 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.ActorRole)

Module PersistenceSig.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.ActorRole)

Module PersistenceSig.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/PermissionOnTarget/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/PermissionOnTarget/index.html index 6c75487..1f3611d 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/PermissionOnTarget/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.PermissionOnTarget)

Module PersistenceSig.PermissionOnTarget

val validate_set : +PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.PermissionOnTarget)

Module PersistenceSig.PermissionOnTarget

val validate_set : ?any_id:bool -> permission_on_target list -> (string -> 'etyp) -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Actor/index.html index 80c77dc..f4a7c01 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorPermission/index.html index f820aaa..ad660c3 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorRole/index.html index 1570d98..40cfed6 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Model/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Model/index.html index f31a9f5..e0784ee 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Model/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RoleAssignment/index.html index 816b4de..2be30b6 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RolePermission/index.html index 577ef55..f0256fe 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Target/index.html index 69422a1..7519ff6 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/index.html index 477a7a3..7181217 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo)

Module PersistenceSig.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Repo)

Module PersistenceSig.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RoleAssignment/index.html index d969061..0227807 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.RoleAssignment)

Module PersistenceSig.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.RoleAssignment)

Module PersistenceSig.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RolePermission/index.html index a0ecd76..b6bf060 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.RolePermission)

Module PersistenceSig.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.RolePermission)

Module PersistenceSig.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Target/index.html index ee86486..0ec2e9f 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Target)

Module PersistenceSig.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig.Target)

Module PersistenceSig.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/index.html index 485e0c9..f022c65 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-PersistenceSig/index.html @@ -1,5 +1,5 @@ -PersistenceSig (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig)

Module type Guard.PersistenceSig

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : +PersistenceSig (guardian.Guardian_backend.MariaDb.Make.Guard.PersistenceSig)

Module type Guard.PersistenceSig

type actor = Actor.t
type actor_model = ActorModel.t
type actor_permission = ActorPermission.t
type actor_role = ActorRole.t
type permission_on_target = PermissionOnTarget.t
type role = Role.t
type role_assignment = RoleAssignment.t
type role_permission = RolePermission.t
type target = Target.t
type target_entity = TargetEntity.t
type target_model = TargetModel.t
type validation_set = ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : ?ctx:(string * string) list -> (string -> 'etyp) -> validation_set -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-TargetSig/index.html b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-TargetSig/index.html index 44c2e8b..1154b5f 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-TargetSig/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Guard/module-type-TargetSig/index.html @@ -1,5 +1,5 @@ -TargetSig (guardian.Guardian_backend.MariaDb.Make.Guard.TargetSig)

Module type Guard.TargetSig

type t
val to_authorizable : +TargetSig (guardian.Guardian_backend.MariaDb.Make.Guard.TargetSig)

Module type Guard.TargetSig

type t
val to_authorizable : ?ctx:Guardian.context -> t -> (Target.t, string) Lwt_result.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/PermissionOnTarget/index.html b/guardian/Guardian_backend/MariaDb/Make/PermissionOnTarget/index.html index 7957e3a..5b13fda 100644 --- a/guardian/Guardian_backend/MariaDb/Make/PermissionOnTarget/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/PermissionOnTarget/index.html @@ -1,5 +1,5 @@ -PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.PermissionOnTarget)

Module Make.PermissionOnTarget

val validate_set : +PermissionOnTarget (guardian.Guardian_backend.MariaDb.Make.PermissionOnTarget)

Module Make.PermissionOnTarget

val validate_set : ?any_id:bool -> permission_on_target list -> (string -> 'etyp) -> diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/Actor/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/Actor/index.html index d92434e..ad1f842 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/Actor/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/Actor/index.html @@ -1,5 +1,5 @@ -Actor (guardian.Guardian_backend.MariaDb.Make.Repo.Actor)

Module Repo.Actor

val insert : +Actor (guardian.Guardian_backend.MariaDb.Make.Repo.Actor)

Module Repo.Actor

val insert : ?ctx:(string * string) list -> actor -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/ActorPermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/ActorPermission/index.html index 7967099..fe68105 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/ActorPermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/ActorPermission/index.html @@ -1,5 +1,5 @@ -ActorPermission (guardian.Guardian_backend.MariaDb.Make.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : +ActorPermission (guardian.Guardian_backend.MariaDb.Make.Repo.ActorPermission)

Module Repo.ActorPermission

val insert : ?ctx:(string * string) list -> actor_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/ActorRole/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/ActorRole/index.html index 8dd5d62..924495b 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/ActorRole/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/ActorRole/index.html @@ -1,5 +1,5 @@ -ActorRole (guardian.Guardian_backend.MariaDb.Make.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : +ActorRole (guardian.Guardian_backend.MariaDb.Make.Repo.ActorRole)

Module Repo.ActorRole

val upsert : ?ctx:(string * string) list -> actor_role -> unit Lwt.t
val find_by_actor : ?ctx:(string * string) list -> Guardian__.Uuid.Actor.t -> actor_role list Lwt.t
val find_by_target : diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/Model/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/Model/index.html index 5202c21..1c27d46 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/Model/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/Model/index.html @@ -1,2 +1,2 @@ -Model (guardian.Guardian_backend.MariaDb.Make.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
+Model (guardian.Guardian_backend.MariaDb.Make.Repo.Model)

Module Repo.Model

val role : role Caqti_type.t
val role_assignment : role_assignment Caqti_type.t
diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/RoleAssignment/index.html index 18c4a18..5644b55 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.Repo.RoleAssignment)

Module Repo.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/RolePermission/index.html index ffe7a11..f621336 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.Repo.RolePermission)

Module Repo.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.Repo.RolePermission)

Module Repo.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/Target/index.html index 6959c97..05a312b 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Repo.Target)

Module Repo.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Repo.Target)

Module Repo.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/Repo/index.html b/guardian/Guardian_backend/MariaDb/Make/Repo/index.html index b7eb1b3..d64b078 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Repo/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Repo/index.html @@ -1,5 +1,5 @@ -Repo (guardian.Guardian_backend.MariaDb.Make.Repo)

Module Make.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : +Repo (guardian.Guardian_backend.MariaDb.Make.Repo)

Module Make.Repo

module Model : sig ... end
module ActorRole : sig ... end
module Actor : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module RoleAssignment : sig ... end
val validate : ?ctx:(string * string) list -> ?any_id:bool -> ?target_uuid:Guardian__.Uuid.Target.t -> diff --git a/guardian/Guardian_backend/MariaDb/Make/RoleAssignment/index.html b/guardian/Guardian_backend/MariaDb/Make/RoleAssignment/index.html index 08272c1..a916b99 100644 --- a/guardian/Guardian_backend/MariaDb/Make/RoleAssignment/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/RoleAssignment/index.html @@ -1,5 +1,5 @@ -RoleAssignment (guardian.Guardian_backend.MariaDb.Make.RoleAssignment)

Module Make.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : +RoleAssignment (guardian.Guardian_backend.MariaDb.Make.RoleAssignment)

Module Make.RoleAssignment

val table_name : string
val sql_select_columns : string list
val find_request_sql : ?count:bool -> string -> string
val find_all : ?ctx:(string * string) list -> unit -> role_assignment list Lwt.t
val find_all_by_role : diff --git a/guardian/Guardian_backend/MariaDb/Make/RolePermission/index.html b/guardian/Guardian_backend/MariaDb/Make/RolePermission/index.html index fdf5abb..43cb8e7 100644 --- a/guardian/Guardian_backend/MariaDb/Make/RolePermission/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/RolePermission/index.html @@ -1,5 +1,5 @@ -RolePermission (guardian.Guardian_backend.MariaDb.Make.RolePermission)

Module Make.RolePermission

val insert : +RolePermission (guardian.Guardian_backend.MariaDb.Make.RolePermission)

Module Make.RolePermission

val insert : ?ctx:(string * string) list -> role_permission -> (unit, string) Lwt_result.t
val delete : diff --git a/guardian/Guardian_backend/MariaDb/Make/Target/index.html b/guardian/Guardian_backend/MariaDb/Make/Target/index.html index 23642f2..e664062 100644 --- a/guardian/Guardian_backend/MariaDb/Make/Target/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/Target/index.html @@ -1,5 +1,5 @@ -Target (guardian.Guardian_backend.MariaDb.Make.Target)

Module Make.Target

val insert : +Target (guardian.Guardian_backend.MariaDb.Make.Target)

Module Make.Target

val insert : ?ctx:(string * string) list -> target -> (unit, string) Lwt_result.t
val mem : diff --git a/guardian/Guardian_backend/MariaDb/Make/argument-1-ActorModel/index.html b/guardian/Guardian_backend/MariaDb/Make/argument-1-ActorModel/index.html index 4c196ed..dc715e7 100644 --- a/guardian/Guardian_backend/MariaDb/Make/argument-1-ActorModel/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/argument-1-ActorModel/index.html @@ -1,5 +1,5 @@ -ActorModel (guardian.Guardian_backend.MariaDb.Make.ActorModel)

Parameter Make.ActorModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +ActorModel (guardian.Guardian_backend.MariaDb.Make.ActorModel)

Parameter Make.ActorModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian_backend/MariaDb/Make/argument-2-Role/index.html b/guardian/Guardian_backend/MariaDb/Make/argument-2-Role/index.html index d71f3f1..9a54ffd 100644 --- a/guardian/Guardian_backend/MariaDb/Make/argument-2-Role/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/argument-2-Role/index.html @@ -1,5 +1,5 @@ -Role (guardian.Guardian_backend.MariaDb.Make.Role)

Parameter Make.Role

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +Role (guardian.Guardian_backend.MariaDb.Make.Role)

Parameter Make.Role

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian_backend/MariaDb/Make/argument-3-TargetModel/index.html b/guardian/Guardian_backend/MariaDb/Make/argument-3-TargetModel/index.html index f06cd06..1f02bcd 100644 --- a/guardian/Guardian_backend/MariaDb/Make/argument-3-TargetModel/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/argument-3-TargetModel/index.html @@ -1,5 +1,5 @@ -TargetModel (guardian.Guardian_backend.MariaDb.Make.TargetModel)

Parameter Make.TargetModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : +TargetModel (guardian.Guardian_backend.MariaDb.Make.TargetModel)

Parameter Make.TargetModel

type t
val equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val compare : t -> t -> Ppx_deriving_runtime.int
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val name : t -> string
val of_string : string -> t
val of_string_res : string -> (t, string) CCResult.t
val sexp_of_t : t -> Sexplib0.Sexp.t
val all : t list
diff --git a/guardian/Guardian_backend/MariaDb/Make/argument-4-Database/index.html b/guardian/Guardian_backend/MariaDb/Make/argument-4-Database/index.html index fc36175..1dfa813 100644 --- a/guardian/Guardian_backend/MariaDb/Make/argument-4-Database/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/argument-4-Database/index.html @@ -1,5 +1,5 @@ -Database (guardian.Guardian_backend.MariaDb.Make.Database)

Parameter Make.Database

val initialize : unit -> unit
val fetch_pool : +Database (guardian.Guardian_backend.MariaDb.Make.Database)

Parameter Make.Database

val initialize : unit -> unit
val fetch_pool : ?ctx:(string * string) list -> unit -> (Caqti_lwt.connection, Caqti_error.t) Caqti_lwt_unix.Pool.t
val add_pool : ?pool_size:int -> string -> string -> unit
val drop_pool : string -> unit Lwt.t
val find : diff --git a/guardian/Guardian_backend/MariaDb/Make/index.html b/guardian/Guardian_backend/MariaDb/Make/index.html index 385ca0f..aec68a3 100644 --- a/guardian/Guardian_backend/MariaDb/Make/index.html +++ b/guardian/Guardian_backend/MariaDb/Make/index.html @@ -1,5 +1,5 @@ -Make (guardian.Guardian_backend.MariaDb.Make)

Module MariaDb.Make

Parameters

module Database : sig ... end

Signature

module Guard : sig ... end
val lowercase_role : TargetModel.t -> string
val capitalize_role : TargetModel.t -> string
module Entity : sig ... end
module DBCache : sig ... end
include sig ... end
type actor = Guard.Actor.t
type actor_model = ActorModel.t
type actor_permission = Guard.ActorPermission.t
type actor_role = Guard.ActorRole.t
type permission_on_target = Guard.PermissionOnTarget.t
type role = Role.t
type role_assignment = Guard.RoleAssignment.t
type role_permission = Guard.RolePermission.t
type target = Guard.Target.t
type target_entity = Guard.TargetEntity.t
type target_model = TargetModel.t
type validation_set = Guard.ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : +Make (guardian.Guardian_backend.MariaDb.Make)

Module MariaDb.Make

Parameters

module Database : sig ... end

Signature

module Guard : sig ... end
val lowercase_role : TargetModel.t -> string
val capitalize_role : TargetModel.t -> string
module Entity : sig ... end
module DBCache : sig ... end
include sig ... end
type actor = Guard.Actor.t
type actor_model = ActorModel.t
type actor_permission = Guard.ActorPermission.t
type actor_role = Guard.ActorRole.t
type permission_on_target = Guard.PermissionOnTarget.t
type role = Role.t
type role_assignment = Guard.RoleAssignment.t
type role_permission = Guard.RolePermission.t
type target = Guard.Target.t
type target_entity = Guard.TargetEntity.t
type target_model = TargetModel.t
type validation_set = Guard.ValidationSet.t
module Repo : sig ... end
val start : ?ctx:(string * string) list -> unit -> unit Lwt.t
  • deprecated
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
val delete : ?ctx:(string * string) list -> unit -> unit Lwt.t
val clear_cache : unit -> unit
module Actor : sig ... end
module ActorRole : sig ... end
module Target : sig ... end
module RolePermission : sig ... end
module ActorPermission : sig ... end
module PermissionOnTarget : sig ... end
module RoleAssignment : sig ... end
val wrap_function : ?ctx:(string * string) list -> (string -> 'etyp) -> validation_set -> diff --git a/guardian/Guardian_backend/MariaDb/index.html b/guardian/Guardian_backend/MariaDb/index.html index f538096..4e4ea13 100644 --- a/guardian/Guardian_backend/MariaDb/index.html +++ b/guardian/Guardian_backend/MariaDb/index.html @@ -1,5 +1,5 @@ -MariaDb (guardian.Guardian_backend.MariaDb)

Module Guardian_backend.MariaDb

val combine_lwt : 'a Lwt.t Lwt.t -> 'a Lwt.t
module Make +MariaDb (guardian.Guardian_backend.MariaDb)

Module Guardian_backend.MariaDb

val combine_lwt : 'a Lwt.t Lwt.t -> 'a Lwt.t
module Make (ActorModel : Guardian.RoleSig) (Role : Guardian.RoleSig) (TargetModel : Guardian.RoleSig) diff --git a/guardian/Guardian_backend/Pools/DefaultConfig/index.html b/guardian/Guardian_backend/Pools/DefaultConfig/index.html index c1979b1..08e4a94 100644 --- a/guardian/Guardian_backend/Pools/DefaultConfig/index.html +++ b/guardian/Guardian_backend/Pools/DefaultConfig/index.html @@ -1,2 +1,2 @@ -DefaultConfig (guardian.Guardian_backend.Pools.DefaultConfig)

Module Pools.DefaultConfig

val database : connection_type
val database_pool_size : int
+DefaultConfig (guardian.Guardian_backend.Pools.DefaultConfig)

Module Pools.DefaultConfig

val database : connection_type
val database_pool_size : int
diff --git a/guardian/Guardian_backend/Pools/Make/argument-1-Config/index.html b/guardian/Guardian_backend/Pools/Make/argument-1-Config/index.html index 2ae1fcf..c730f16 100644 --- a/guardian/Guardian_backend/Pools/Make/argument-1-Config/index.html +++ b/guardian/Guardian_backend/Pools/Make/argument-1-Config/index.html @@ -1,2 +1,2 @@ -Config (guardian.Guardian_backend.Pools.Make.Config)

Parameter Make.Config

val database : connection_type
val database_pool_size : int
+Config (guardian.Guardian_backend.Pools.Make.Config)

Parameter Make.Config

val database : connection_type
val database_pool_size : int
diff --git a/guardian/Guardian_backend/Pools/Make/index.html b/guardian/Guardian_backend/Pools/Make/index.html index dcb868d..80430eb 100644 --- a/guardian/Guardian_backend/Pools/Make/index.html +++ b/guardian/Guardian_backend/Pools/Make/index.html @@ -1,5 +1,5 @@ -Make (guardian.Guardian_backend.Pools.Make)

Module Pools.Make

Parameters

module Config : ConfigSig

Signature

include Sig
val initialize : unit -> unit
val fetch_pool : +Make (guardian.Guardian_backend.Pools.Make)

Module Pools.Make

Parameters

module Config : ConfigSig

Signature

include Sig
val initialize : unit -> unit
val fetch_pool : ?ctx:(string * string) list -> unit -> (Caqti_lwt.connection, Caqti_error.t) Caqti_lwt_unix.Pool.t
val add_pool : ?pool_size:int -> string -> string -> unit
val drop_pool : string -> unit Lwt.t
val find : diff --git a/guardian/Guardian_backend/Pools/index.html b/guardian/Guardian_backend/Pools/index.html index cc8f801..2cede80 100644 --- a/guardian/Guardian_backend/Pools/index.html +++ b/guardian/Guardian_backend/Pools/index.html @@ -1,5 +1,5 @@ -Pools (guardian.Guardian_backend.Pools)

Module Guardian_backend.Pools

exception Exception of string
val get_or_raise : +Pools (guardian.Guardian_backend.Pools)

Module Guardian_backend.Pools

exception Exception of string
val get_or_raise : ?ctx:(string * string) list -> ?tags:Logs.Tag.set -> ?log_level:Logs.level -> diff --git a/guardian/Guardian_backend/Pools/module-type-ConfigSig/index.html b/guardian/Guardian_backend/Pools/module-type-ConfigSig/index.html index 13dd180..222afc4 100644 --- a/guardian/Guardian_backend/Pools/module-type-ConfigSig/index.html +++ b/guardian/Guardian_backend/Pools/module-type-ConfigSig/index.html @@ -1,2 +1,2 @@ -ConfigSig (guardian.Guardian_backend.Pools.ConfigSig)

Module type Pools.ConfigSig

val database : connection_type
val database_pool_size : int
+ConfigSig (guardian.Guardian_backend.Pools.ConfigSig)

Module type Pools.ConfigSig

val database : connection_type
val database_pool_size : int
diff --git a/guardian/Guardian_backend/Pools/module-type-Sig/index.html b/guardian/Guardian_backend/Pools/module-type-Sig/index.html index 25591d8..f49b5c1 100644 --- a/guardian/Guardian_backend/Pools/module-type-Sig/index.html +++ b/guardian/Guardian_backend/Pools/module-type-Sig/index.html @@ -1,5 +1,5 @@ -Sig (guardian.Guardian_backend.Pools.Sig)

Module type Pools.Sig

val initialize : unit -> unit
val fetch_pool : +Sig (guardian.Guardian_backend.Pools.Sig)

Module type Pools.Sig

val initialize : unit -> unit
val fetch_pool : ?ctx:(string * string) list -> unit -> (Caqti_lwt.connection, Caqti_error.t) Caqti_lwt_unix.Pool.t
val add_pool : ?pool_size:int -> string -> string -> unit
val drop_pool : string -> unit Lwt.t
val find : diff --git a/guardian/Guardian_backend/index.html b/guardian/Guardian_backend/index.html index b8f1abb..f69888f 100644 --- a/guardian/Guardian_backend/index.html +++ b/guardian/Guardian_backend/index.html @@ -1,2 +1,2 @@ -Guardian_backend (guardian.Guardian_backend)

Module Guardian_backend

module Pools : sig ... end
module MariaDb : sig ... end
+Guardian_backend (guardian.Guardian_backend)

Module Guardian_backend

module Pools : sig ... end
module MariaDb : sig ... end
diff --git a/guardian/index.html b/guardian/index.html index deda5f5..98939b5 100644 --- a/guardian/index.html +++ b/guardian/index.html @@ -1,5 +1,5 @@ -index (guardian.index)

Guardian

Generic framework for roles and permissions to be used in our projects

Limitations and Notes

Setup with MariaDB backend (MultiPools)

let open Guardian_backend.Pools in
+index (guardian.index)

Guardian

Generic framework for roles and permissions to be used in our projects

Limitations and Notes

Setup with MariaDB backend (MultiPools)

let open Guardian_backend.Pools in
 let module MariaConfig = struct
   include DefaultConfig
 
diff --git a/odoc.support/odoc.css b/odoc.support/odoc.css
index c23517b..71148de 100644
--- a/odoc.support/odoc.css
+++ b/odoc.support/odoc.css
@@ -1,7 +1,7 @@
 @charset "UTF-8";
 /* Copyright (c) 2016 The odoc contributors. All rights reserved.
    Distributed under the ISC license, see terms at the end of the file.
-   odoc 2.4.1 */
+   odoc 2.4.2 */
 
 /* Fonts */
 /* noticia-text-regular - latin */