Cleaned up validators and browser-side ajax utils
This commit is contained in:
parent
8a4a21cff0
commit
cf55be21eb
8 changed files with 79 additions and 35 deletions
|
|
@ -26,6 +26,12 @@ const permissionSchema = new mongoose.Schema({
|
|||
default: "admin",
|
||||
required: true
|
||||
},
|
||||
adminAPI: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
enum: rankEnum,
|
||||
default: "admin",
|
||||
required: true
|
||||
},
|
||||
registerChannel: {
|
||||
type: mongoose.SchemaTypes.String,
|
||||
enum: rankEnum,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue