mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
remove context
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user