diff options
author | Julen Landa Alustiza <julen@zokormazo.info> | 2017-04-02 12:55:13 +0200 |
---|---|---|
committer | Julen Landa Alustiza <julen@zokormazo.info> | 2017-04-02 12:55:13 +0200 |
commit | 1218e114beb8cb4428c5bf43a76382981b89d09a (patch) | |
tree | c3fbe6fcdabfc32b0b4d78a5b404d971758e3b4a /models/users.js | |
parent | c58cb9eddf26ec8f2927457a790cb09b172a6da0 (diff) | |
download | wekan-1218e114beb8cb4428c5bf43a76382981b89d09a.tar.gz wekan-1218e114beb8cb4428c5bf43a76382981b89d09a.tar.bz2 wekan-1218e114beb8cb4428c5bf43a76382981b89d09a.zip |
Add isAdmin to user Schema
Diffstat (limited to 'models/users.js')
-rw-r--r-- | models/users.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/models/users.js b/models/users.js index 7b484f92..b06a6460 100644 --- a/models/users.js +++ b/models/users.js @@ -104,6 +104,10 @@ Users.attachSchema(new SimpleSchema({ type: Date, optional: true, }, + isAdmin: { + type: Boolean, + optional: true + } })); // Search a user in the complete server database by its name or username. This |