Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 4.29 KB

File metadata and controls

14 lines (10 loc) · 4.29 KB

DocumentPermissionsDefinition

describes the access control details of the document

Fields

Field Type Required Description
allowed_users List[models.UserReferenceDefinition] List of users who can view the document
allowed_groups List[str] List of groups that can view the document
allowed_group_intersections List[models.PermissionsGroupIntersectionDefinition] List of allowed group intersections. This describes a permissions constraint of the form ((GroupA AND GroupB AND GroupC) OR (GroupX AND GroupY) OR ...
allow_anonymous_access Optional[bool] If true, then any Glean user can view the document
allow_all_datasource_users_access Optional[bool] If true, then any user who has an account in the datasource can view the document.