summaryrefslogtreecommitdiffstats
path: root/src/pybind/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts
blob: 2d323b04ea5d8c09ce1ac311a7b87348f622d503 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
  }
}