Skip to content

Commit

Permalink
chore: 增加用户组 (Close Chanzhaoyu#180)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerwin committed May 27, 2023
1 parent 0648186 commit 2085d90
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions service/src/storage/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ export enum UserRole {
Admin = 0,
User = 1,
Guest = 2,
Support = 3,
Viewer = 4,
Contributor = 5,
Developer = 6,
Tester = 7,
Partner = 8,
}

export class UserInfo {
Expand Down
6 changes: 6 additions & 0 deletions src/components/common/Setting/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ export enum UserRole {
Admin = 0,
User = 1,
Guest = 2,
Support = 3,
Viewer = 4,
Contributor = 5,
Developer = 6,
Tester = 7,
Partner = 8,
}

export class KeyConfig {
Expand Down

0 comments on commit 2085d90

Please sign in to comment.