Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Commit

Permalink
feat: update Roles
Browse files Browse the repository at this point in the history
  • Loading branch information
YanceyOfficial committed Jan 29, 2020
1 parent 856b1d2 commit 85a746f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/users/interfaces/user.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ export enum TwoFactorAuthentications {
}

export enum Roles {
SUPERUSER,
ADMIN,
USER,
NOT_CERTIFIED,
SUPERUSER = 0b0000000000000,
ADMIN = 0b0000000000001,
USER = 0b0000000000010,
NOT_CERTIFIED = 0b0000000000100,
}

export interface User extends Document {
Expand Down

0 comments on commit 85a746f

Please sign in to comment.