This documentation is for the unstable version of GoodData, currrently in development.
For stable version, go to the latest stable version of this article.
For stable version, go to the latest stable version of this article.
catalog_permission.
get_declarative_permissions
get_declarative_permissions(workspace_id: str) -> CatalogDeclarativeWorkspacePermissions
Retrieve current set of permissions of the workspace in a declarative form.
Parameters
| name | type | description |
|---|---|---|
| workspace_id | str | Workspace identification string. e.g. "demo" |
Returns
| type | description |
|---|---|
| CatalogDeclarativeWorkspacePermissions | Object containing workspace permissions. |
Example
# Get permissions in declarative from
declarative_permissions = sdk.catalog_permission.get_declarative_permissions(workspace_id=workspace_id)