remove context

This commit is contained in:
riley
2017-05-16 16:34:04 -06:00
parent 03ce044c53
commit d081c0c5b5
5 changed files with 11 additions and 5 deletions
+7 -1
View File
@@ -1,9 +1,15 @@
module.exports = {
checkRoles: function (user, perm, context) {
DUMMY_ROLE: 'DUMMY_ROLE',
checkRoles: function (user, perm) {
// this runs before everything
if (user.status === 'BANNED') {
return false;
}
switch (perm) {
default:
break;
}
}
};