From d135ce7ed7768928b82fd1530b3cc13090397dfb Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 24 May 2013 11:21:12 +0200 Subject: added random access link for invited users. now they don't have to register to post. --- models/Access.js | 1 + 1 file changed, 1 insertion(+) (limited to 'models/Access.js') 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 } }); -- cgit v1.2.3