Module Values.AccessControlSource

A list of principals. Each principal can be either a USER or a GROUP and can be designated document access permissions of either ALLOW or DENY.

Sourcetype nonrec t = {
  1. principals : Principals.t;
    (*

    Contains a list of principals, where a principal can be either a USER or a GROUP. Each principal can be have the following type of document access: ALLOW or DENY.

    *)
  2. memberRelation : MemberRelation.t option;
    (*

    Describes the member relation within a principal list.

    *)
}
Sourceval context_ : string
Sourceval make : ?memberRelation:??? -> principals:Principals.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `String of UserId.t ]) list ]) list ] list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t