Skip to content

DocumentAcl

Structure Class

DocumentAcl dataclass

Bases: _SerdeShape

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

Attributes

allowlist class-attribute instance-attribute
allowlist: DocumentAclMembership | None = ...

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

deny_list class-attribute instance-attribute
deny_list: DocumentAclMembership | None = ...

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