assignPermissions()
Home > @gooddata/sdk-backend-spi > IOrganizationPermissionService > assignPermissions
IOrganizationPermissionService.assignPermissions() 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.
Assigns workspace and or data source permissions to list of the assignees.
Signature:
assignPermissions(permissionsAsignment: IPermissionsAssignment): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
permissionsAsignment | IPermissionsAssignment | specification of the assignees and permissions to be assigned. |
Returns:
Promise<void>
promise