toDeclarativePermissions()
Home > @gooddata/sdk-code-convertors > toDeclarativePermissions
toDeclarativePermissions() function
Signature:
toDeclarativePermissions: (permissions?: {
VIEW?: import("@gooddata/sdk-code-schemas/v1").Permission | undefined;
EDIT?: import("@gooddata/sdk-code-schemas/v1").Permission | undefined;
SHARE?: import("@gooddata/sdk-code-schemas/v1").Permission | undefined;
} | undefined) => [GenericPermission[], GenericPermission[]]
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
permissions |
{ VIEW?: import("@gooddata/sdk-code-schemas/v1").Permission | undefined; EDIT?: import("@gooddata/sdk-code-schemas/v1").Permission | undefined; SHARE?: import("@gooddata/sdk-code-schemas/v1").Permission | undefined; } | undefined |
(Optional) |
Returns: