diff options
Diffstat (limited to '')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts new file mode 100644 index 000000000..2d323b04e --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts @@ -0,0 +1,14 @@ +import { SelectOption } from '~/app/shared/components/select/select-option.model'; + +export class UserFormRoleModel implements SelectOption { + name: string; + description: string; + selected = false; + scopes_permissions: object; + enabled = true; + + constructor(name: string, description: string) { + this.name = name; + this.description = description; + } +} |