@taiger-common/model 1.0.23 → 1.0.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,14 @@ exports.permissionSchema = new mongoose_1.Schema({
40
40
  type: Boolean,
41
41
  default: false
42
42
  },
43
+ canAddUser: {
44
+ type: Boolean,
45
+ default: false
46
+ },
47
+ canModifyUser: {
48
+ type: Boolean,
49
+ default: false
50
+ },
43
51
  isEssayWriters: {
44
52
  type: Boolean,
45
53
  default: false
@@ -37,6 +37,14 @@ export var permissionSchema = new Schema({
37
37
  type: Boolean,
38
38
  default: false
39
39
  },
40
+ canAddUser: {
41
+ type: Boolean,
42
+ default: false
43
+ },
44
+ canModifyUser: {
45
+ type: Boolean,
46
+ default: false
47
+ },
40
48
  isEssayWriters: {
41
49
  type: Boolean,
42
50
  default: false
@@ -39,6 +39,8 @@ export declare const permissionSchema: Schema<any, import("mongoose").Model<any,
39
39
  canAssignAgents: boolean;
40
40
  canModifyDocumentation: boolean;
41
41
  canAccessStudentDatabase: boolean;
42
+ canAddUser: boolean;
43
+ canModifyUser: boolean;
42
44
  isEssayWriters: boolean;
43
45
  updatedAt?: NativeDate | null | undefined;
44
46
  user_id?: import("mongoose").Types.ObjectId | null | undefined;
@@ -55,6 +57,8 @@ export declare const permissionSchema: Schema<any, import("mongoose").Model<any,
55
57
  canAssignAgents: boolean;
56
58
  canModifyDocumentation: boolean;
57
59
  canAccessStudentDatabase: boolean;
60
+ canAddUser: boolean;
61
+ canModifyUser: boolean;
58
62
  isEssayWriters: boolean;
59
63
  updatedAt?: NativeDate | null | undefined;
60
64
  user_id?: import("mongoose").Types.ObjectId | null | undefined;
@@ -71,6 +75,8 @@ export declare const permissionSchema: Schema<any, import("mongoose").Model<any,
71
75
  canAssignAgents: boolean;
72
76
  canModifyDocumentation: boolean;
73
77
  canAccessStudentDatabase: boolean;
78
+ canAddUser: boolean;
79
+ canModifyUser: boolean;
74
80
  isEssayWriters: boolean;
75
81
  updatedAt?: NativeDate | null | undefined;
76
82
  user_id?: import("mongoose").Types.ObjectId | null | undefined;