package guardian

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Guard.MakePersistenceSource

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
Sourcemodule Repo : sig ... end
val find_migrations : unit -> (string * string * string) list
val find_clean : unit -> (string * string) list
val migrate : ?ctx:??? -> unit -> unit Lwt.t
val clean : ?ctx:??? -> unit -> unit Lwt.t
val delete : ?ctx:??? -> unit -> unit Lwt.t
Sourceval clear_cache : unit -> unit
Sourcemodule Actor : sig ... end
Sourcemodule ActorRole : sig ... end
Sourcemodule Target : sig ... end
Sourcemodule RolePermission : sig ... end
Sourcemodule ActorPermission : sig ... end
Sourcemodule PermissionOnTarget : sig ... end
Sourcemodule RoleAssignment : sig ... end
Sourceval wrap_function : ?ctx:??? -> (string -> 'etyp) -> validation_set -> ('param -> ('rval, 'etyp) Lwt_result.t) -> (actor -> 'param -> ('rval, 'etyp) Lwt_result.t, string) Lwt_result.t
Sourceval validate : ?ctx:??? -> ?any_id:??? -> (string -> 'etyp) -> validation_set -> actor -> (unit, 'etyp) Lwt_result.t