package guardian

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.4.0.tar.gz
md5=c0526b48e6fe938c209dfd5810082578
sha512=0fb1878c12848c2e5690444035e225cdd7b80f0fa98ee5a1db5e2f41f01fb5db3c8fc4d81b9c95da1859d6c803d0a253458e213dea8fa0924d33f4055df8c01f

doc/guardian.backend/Guardian_backend/MariaDb/Make/Guard/MakePersistence/index.html

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