Function: getPermittedProjects()
ts
function getPermittedProjects(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
projects?: object[];
}>;Defined in: src/cloud/api/permissions.ts:146
Returns all the projects where the user is granted a list of project permissions.
This operation can be accessed anonymously.
Permissions required: None.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { permissions: string[]; } | - |
parameters.permissions | string[] | A list of permission keys. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; projects?: object[]; }>