mirror of
https://github.com/wekan/wekan.git
synced 2025-04-24 14:08:31 -04:00
Add isAdmin to user Schema
This commit is contained in:
parent
c58cb9eddf
commit
1218e114be
1 changed files with 4 additions and 0 deletions
|
@ -104,6 +104,10 @@ Users.attachSchema(new SimpleSchema({
|
||||||
type: Date,
|
type: Date,
|
||||||
optional: true,
|
optional: true,
|
||||||
},
|
},
|
||||||
|
isAdmin: {
|
||||||
|
type: Boolean,
|
||||||
|
optional: true
|
||||||
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
// Search a user in the complete server database by its name or username. This
|
// Search a user in the complete server database by its name or username. This
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue