Explorar o código

论坛管理兼容BSSManager

unknown %!s(int64=5) %!d(string=hai) anos
pai
achega
e1e288afbf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();