diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-24 11:21:12 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-05-24 11:21:12 +0200 |
commit | d135ce7ed7768928b82fd1530b3cc13090397dfb (patch) | |
tree | 7c06d3e7177d72f65edd6358f221b8de18b99e66 /models/Access.js | |
parent | fixed some nicklists and other stuffs (diff) | |
download | Divid-d135ce7ed7768928b82fd1530b3cc13090397dfb.tar.gz |
added random access link for invited users. now they don't have to
register to post.
Diffstat (limited to 'models/Access.js')
-rw-r--r-- | models/Access.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/models/Access.js b/models/Access.js index 75f6003..ba8097d 100644 --- a/models/Access.js +++ b/models/Access.js @@ -23,6 +23,7 @@ var AccessSchema = new Schema({ creator: { type: Schema.ObjectId, ref: 'User' }, project: { type: Schema.ObjectId, ref: 'Project' }, permissions: { type: Number, default: '3' }, + randomToken: { type: String }, created: { type: Date, default: Date.now }, updated: { type: Date, default: Date.now } }); |