1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-09 11:14:29 +02:00
unleash.unleash/frontend/src/openapi/models/roleWithPermissionsSchema.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

23 lines
793 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { AdminPermissionSchema } from './adminPermissionSchema';
/**
* A read model for the role and permissions to allow Unleash to decide what actions a role holder is allowed to perform
*/
export interface RoleWithPermissionsSchema {
/** The role id */
id: number;
/** A role can either be a global `root` role, or a `project` role or a `custom` project role or a custom global `root-custom` role */
type: string;
/** The name of the role */
name: string;
/** A more detailed description of the role and what use it's intended for */
description?: string;
/** A list of permissions assigned to this role */
permissions: AdminPermissionSchema[];
}