package guardian

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

Module Entity.PermissionOnTargetSource

include module type of struct include Guard.PermissionOnTarget end
Sourceval equal : t -> t -> bool
Sourceval pp : Format.formatter -> t -> unit
Sourceval show : t -> string
Sourceval compare : t -> t -> int
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval sexp_of_t : t -> Sexplib0.Sexp.t
Sourceval create : ?target_uuid:??? -> Guard.Permission.t -> TargetModel.t -> t
Sourceval remove_duplicates : t list -> t list
Sourceval filter_permission_on_model : Guard.Permission.t -> TargetModel.t -> t list -> t list
Sourceval validate : ?any_id:??? -> t -> t list -> bool
Sourceval permission_of_model : Guard.Permission.t -> TargetModel.t -> t list -> bool * Guard.Uuid.Target.t list