Function: addSharePermission()
ts
function addSharePermission(
client,
parameters,
options?
): Promise<object[]>;Defined in: src/server/api/filters.ts:220
Adds a share permissions to the given filter. Adding a global permission removes all previous permissions from the filter
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { edit?: boolean; groupname?: string; id: string; projectId?: string; projectRoleId?: string; type?: string; userKey?: string; view?: boolean; } | - |
parameters.edit? | boolean | - |
parameters.groupname? | string | - |
parameters.id? | string | The filter id. |
parameters.projectId? | string | - |
parameters.projectRoleId? | string | - |
parameters.type? | string | - |
parameters.userKey? | string | - |
parameters.view? | boolean | - |
options? | RequestOptions | - |
Returns
Promise<object[]>