catalog_permission.

put_declarative_organization_permissions

put_declarative_organization_permissions(org_permissions: List[CatalogDeclarativeOrganizationPermission])

Sets the permissions for the whole organization.

Parameters

nametypedescription
org_permissionsList[CatalogDeclarativeOrganizationPermission]List of Organization Permissions.

Returns

None

Example

declarative_org_permissions = [CatalogDeclarativeOrganizationPermission(name="MANAGE", assignee=CatalogAssigneeIdentifier(id="user1", type="user"))]

# Update permissions on the server with your changes
sdk.catalog_permission.put_declarative_organization_permissions(org_permissions=declarative_org_permissions)