IOrganizationPermissionService
Home > @gooddata/sdk-backend-spi > IOrganizationPermissionService
IOrganizationPermissionService interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
This service provides access to organization permissions.
Signature:
export interface IOrganizationPermissionService
Methods
Method | Description |
---|---|
assignPermissions(permissionsAsignment) | (ALPHA) Assigns workspace and or data source permissions to list of the assignees. |
getOrganizationPermissionForUser(userId) | (ALPHA) Get list of organization permissions assigned to the user. |
getOrganizationPermissionForUserGroup(userGroupId) | (ALPHA) Get list of organization permissions assigned to the user group. |
getPermissionsForUser(userId) | (ALPHA) Get list of assigned workspaces and data sources of the user and their permissions. |
getPermissionsForUserGroup(userGroupId) | (ALPHA) Get list of assigned workspaces and data sources of the user group and their permissions. |
revokePermissions(permissionsAsignment) | (ALPHA) Revokes workspace and or data source permissions to list of the assignees. |
updateOrganizationPermissions(permissionAssignments) | (ALPHA) Update organization permission for the user or user group. |