Added access check for write and manage actions

This commit is contained in:
NGPixel
2017-01-02 23:32:16 -05:00
parent 4625a302f6
commit 9578989b67
7 changed files with 93 additions and 33 deletions

View File

@@ -89,6 +89,7 @@ app.use(express.static(path.join(ROOTPATH, 'assets')));
var strategy = require(CORE_PATH + 'core-libs/auth')(passport, appconfig);
global.rights = require(CORE_PATH + 'core-libs/rights');
rights.init();
var sessionStore = new sessionMongoStore({
mongooseConnection: db.connection,