Sfoglia il codice sorgente

论坛管理兼容BSSManager

unknown 5 anni fa
parent
commit
e1e288afbf
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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();