浏览代码

论坛管理兼容BSSManager

unknown 5 年之前
父节点
当前提交
e1e288afbf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      o2web/source/o2_core/o2/xDesktop/Access.js

+ 1 - 1
o2web/source/o2_core/o2/xDesktop/Access.js

@@ -110,7 +110,7 @@ MWF.xDesktop.Access = MWF.AC = {
     },
     isBBSManager: function(){
         this.getRoleList();
-        return this.isAdministrator() || (this.roleList.indexOf("bbsmanager")!==-1);
+        return this.isAdministrator() || (this.roleList.indexOf("bbsmanager")!==-1) || (this.roleList.indexOf("bssmanager")!==-1);
     },
     isOKRManager: function(){
         this.getRoleList();