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

get_declarative_permissions

get_declarative_permissions(workspace_id: str) -> <class 'gooddata_sdk.catalog.permission.declarative_model.permission.CatalogDeclarativeWorkspacePermissions'>

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

Parameters

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

Returns

typedescription
CatalogDeclarativeWorkspacePermissionsObject containing workspace permissions.