diff --git a/src/models/Account.ts b/src/models/Account.ts index 651d451..ab38d31 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -8,12 +8,11 @@ export interface AccountInterface extends Document { createdBy: string, createdAt: Date, locked: boolean, + tier: number; permissions: { - support: boolean, - staff: boolean, - supervisor: boolean, - communityManager: boolean, - engineer: boolean + associate: boolean, + sheriff: boolean, + facultyMarshal: boolean, }, root: boolean, hash: boolean, @@ -29,12 +28,11 @@ const Account: Schema = new Schema({ createdBy: String, createdAt: Date, locked: Boolean, + tier: Number, permissions: { - support: Boolean, - staff: Boolean, - supervisor: Boolean, - communityManager: Boolean, - engineer: Boolean, + associate: Boolean, + sheriff: Boolean, + facultyMarshal: Boolean, }, root: Boolean, hash: Boolean,