소스 검색

论坛管理兼容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();