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.

get_declarative_permissions

get_declarative_permissions(workspace_id: str)

Gets the current set of permissions of the workspace in a declarative form.

Parameters

nametypedescription
workspace_idstringWorkspace identification string. e.g. "demo"

Returns

typedescription
CatalogDeclarativeWorkspacePermissionsObject Containing Workspace Permissions.

Example

# Get permissions in declarative from
declarative_permissions = sdk.catalog_permission.get_declarative_permissions(workspace_id=workspace_id)