1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-06 00:07:44 +01:00
unleash.unleash/frontend/src/openapi/models/roleSchema.ts

20 lines
550 B
TypeScript
Raw Normal View History

2023-01-05 11:57:53 +01:00
/**
2023-03-15 13:30:07 +01:00
* Generated by Orval
2023-01-05 11:57:53 +01:00
* Do not edit manually.
2023-03-15 13:30:07 +01:00
* See `gen:api` script in package.json
2023-01-05 11:57:53 +01:00
*/
/**
* A role holds permissions to allow Unleash to decide what actions a role holder is allowed to perform
*/
2023-01-05 11:57:53 +01:00
export interface RoleSchema {
/** The role id */
2023-01-05 11:57:53 +01:00
id: number;
/** A role can either be a global root role (applies to all projects) or a project role */
2023-01-05 11:57:53 +01:00
type: string;
/** The name of the role */
2023-01-05 11:57:53 +01:00
name: string;
/** A more detailed description of the role and what use it's intended for */
2023-01-05 11:57:53 +01:00
description?: string;
}