1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/openapi/models/createRoleWithPermissionsSchema.ts
Thomas Heartman dbc7d088f0
chore: update orval types (#4402)
Includes a lot of openapi updates + some new segment change requests models etc
2023-08-03 15:05:20 +02:00

22 lines
963 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { CreateRoleWithPermissionsSchemaType } from './createRoleWithPermissionsSchemaType';
import type { CreateRoleWithPermissionsSchemaPermissionsItem } from './createRoleWithPermissionsSchemaPermissionsItem';
/**
* A write model for the custom role and permissions to allow Unleash to decide what actions a role holder is allowed to perform
*/
export interface CreateRoleWithPermissionsSchema {
/** The name of the custom role */
name: string;
/** A more detailed description of the custom role and what use it's intended for */
description?: string;
/** A custom role can either be a global/root custom role (applies to all projects) or a project custom role */
type?: CreateRoleWithPermissionsSchemaType;
/** A list of permissions assigned to this role */
permissions?: CreateRoleWithPermissionsSchemaPermissionsItem[];
}