manageObjectPermissions()
Home > @gooddata/sdk-backend-spi > IWorkspaceObjectPermissionsService > manageObjectPermissions
IWorkspaceObjectPermissionsService.manageObjectPermissions() method
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.
Applies the given grants. Grantees not included in grantees are left unchanged; a grantee with an empty permissions array is removed.
Signature:
manageObjectPermissions(target: IObjectPermissionsObject, grantees: IGranularAccessGrantee[]): Promise<void>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
target |
the object whose access to change | |
|
grantees |
grants to apply |
Returns:
Promise<void>