Skip to content

Qbusiness  >  Structures  >  AccessControl

AccessControl

Structure Class

AccessControl dataclass

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.

Attributes

member_relation class-attribute instance-attribute
member_relation: MemberRelation | None = None

Describes the member relation within a principal list.

principals instance-attribute
principals: list[Principal]

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.