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
+1 -1
View File
@@ -15,7 +15,7 @@ module.exports = {
REMOVE_COMMENT_TAG: 'REMOVE_COMMENT_TAG',
UPDATE_USER_ROLES: 'UPDATE_USER_ROLES',
UPDATE_CONFIG: 'UPDATE_CONFIG',
checkRoles: function (user, perm, context) {
checkRoles: function (user, perm) {
switch (perm) {
case this.CREATE_COMMENT:
return true;