more updates to privileges revamp

This commit is contained in:
Julian Lam
2014-05-11 23:06:40 -04:00
parent 72ca0d6d40
commit 7c8b442dcd
10 changed files with 49 additions and 56 deletions

View File

@@ -54,6 +54,10 @@ module.exports = function(app, middleware, controllers) {
});
app.get('/test', function(req, res) {
var tools = require('../categoryTools');
tools.privileges(1, 2, function() {
console.log(arguments);
})
res.send(200);
});
});