This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
catalog_permission.

put_declarative_permissions

put_declarative_permissions(workspace_id: str, declarative_workspace_permissions: CatalogDeclarativeWorkspacePermissions)

Sets the permissions for the workspace.

Parameters

nametypedescription
workspace_idstringWorkspace identification string. e.g. "demo"
declarative_workspace_permissionsCatalogDeclarativeWorkspacePermissionsObject Containing Workspace Permissions.

Returns

None

Example

# Update permissions on the server with your changes
sdk.catalog_permission.put_declarative_permissions(workspace_id=workspace_id,
                                                    declarative_workspace_permissions=declarative_permissions)