Skip to main content
Control who can access your collections. Sharing requires admin permission on the collection.

Check Permissions

Parameters

str
required
ID of the collection.
str
default:"write"
Permission level to check: "read", "write", or "admin".

Share with the Public

Parameters

str
required
ID of the collection.
Literal['read', 'write']
default:"read"
Public permission level.

Share with a User

By Email

By User ID

Parameters

str
required
ID of the collection.
str
required
ID of the user.
Literal['read', 'write', 'admin']
default:"read"
Permission level.
Granting direct user admin access requires direct collection-admin access, an admin role in an organization that administers the collection, or a configured organization provisioner. A user who receives collection admin only as an ordinary organization member may still grant read or write access, but cannot turn that inherited access into a direct admin grant.

Share with an Organization

Organization sharing follows the deployment’s configured maximum permission. The default permits admin; a customer-hosted deployment may limit grants to read or write, or disable organization sharing. Lowering the maximum also limits existing organization grants during permission checks without rewriting their stored ACL rows. The internal organization-administrator grant for a service-account-owned collection is preserved. A user with direct collection-admin access may share with an organization. An organization member may do so only when they are an administrator of an organization that has ADMIN access to the collection. Customer-hosted deployments can set collection_organization_member_max_permission = "write" so an organization ADMIN ACL grants ordinary organization members effective WRITE access. Administrators of that same organization retain the full ACL permission.

Parameters

str
required
ID of the collection.
str
required
ID of the organization.
Literal['read', 'write', 'admin']
default:"read"
Permission level, up to the deployment’s configured organization-sharing maximum.

Organizations

List Your Organizations

List Organization Users

List Collection Collaborators