aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/models
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-24 11:21:12 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-24 11:21:12 +0200
commitd135ce7ed7768928b82fd1530b3cc13090397dfb (patch)
tree7c06d3e7177d72f65edd6358f221b8de18b99e66 /models
parentfixed some nicklists and other stuffs (diff)
downloadDivid-d135ce7ed7768928b82fd1530b3cc13090397dfb.tar.gz
added random access link for invited users. now they don't have to
register to post.
Diffstat (limited to 'models')
-rw-r--r--models/Access.js1
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 }
});