1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-12 13:48:35 +02:00
unleash.unleash/frontend/src/openapi/models/createRoleWithPermissionsSchemaAnyOf.ts
2023-12-04 21:49:49 +02:00

19 lines
1.0 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { CreateRoleWithPermissionsSchemaAnyOfPermissionsItem } from './createRoleWithPermissionsSchemaAnyOfPermissionsItem';
import type { CreateRoleWithPermissionsSchemaAnyOfType } from './createRoleWithPermissionsSchemaAnyOfType';
export type CreateRoleWithPermissionsSchemaAnyOf = {
/** A more detailed description of the custom role and what use it's intended for */
description?: string;
/** The name of the custom role */
name: string;
/** A list of permissions assigned to this role */
permissions?: CreateRoleWithPermissionsSchemaAnyOfPermissionsItem[];
/** [Custom root roles](https://docs.getunleash.io/reference/rbac#custom-root-roles) (type=root-custom) are root roles with a custom set of permissions. [Custom project roles](https://docs.getunleash.io/reference/rbac#custom-project-roles) (type=custom) contain a specific set of permissions for project resources. */
type?: CreateRoleWithPermissionsSchemaAnyOfType;
};