Module Values.DocumentAclSource

Represents the Access Control List (ACL) for a document, containing both allowlist and denylist conditions.

Sourcetype nonrec t = {
  1. allowlist : DocumentAclMembership.t option;
    (*

    The allowlist conditions for the document. Users or groups matching these conditions are granted access to the document.

    *)
  2. denyList : DocumentAclMembership.t option;
    (*

    The denylist conditions for the document. Users or groups matching these conditions are denied access to the document, overriding allowlist permissions.

    *)
}
Sourceval make : ?allowlist:??? -> ?denyList:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list ]) 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