This documentation is for an older version of GoodData.
Go to the latest version of this article.
catalog_permission.
put_declarative_organization_permissions
put_declarative_organization_permissions(org_permissions: List[CatalogDeclarativeOrganizationPermission])
Sets the permissions for the whole organization.
Parameters
name | type | description |
---|---|---|
org_permissions | List[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)