Skip to content

DocumentAclCondition

Structure Class

DocumentAclCondition dataclass

Bases: _SerdeShape

Represents a condition in the document's ACL, specifying access rules for users and groups.

Attributes

groups class-attribute instance-attribute
groups: list[DocumentAclGroup] | None = ...

An array of group identifiers that this condition applies to. Groups listed here are subject to the access rule defined by this condition.

member_relation class-attribute instance-attribute
member_relation: str | None = ...

The logical relation between members in the condition, determining how multiple user or group conditions are combined.

users class-attribute instance-attribute
users: list[DocumentAclUser] | None = ...

An array of user identifiers that this condition applies to. Users listed here are subject to the access rule defined by this condition.