IWorkspaceAccessControlService
Home > @gooddata/sdk-backend-spi > IWorkspaceAccessControlService
IWorkspaceAccessControlService 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.
Service to manage access to the objects.
Signature:
export interface IWorkspaceAccessControlService
Methods
Method | Description |
---|---|
changeAccess(sharedObject, grantees) | (ALPHA) Function that allows to change access (add, edit, revoke) to an object for multiple grantees. If the grantee permissions array is empty, the access is revoked. Otherwise, it is set to the permissions in the array. If backend does not support granular permissions, the array content is used only to check if access should be granted or revoked. |
getAccessList(sharedObject) | (ALPHA) |
getAvailableGrantees(sharedObject, search) | (ALPHA) Get list of available grantees for the shared object. |
grantAccess(sharedObject, grantees) | (ALPHA) |
revokeAccess(sharedObject, grantees) | (ALPHA) |