Browse Source

论坛管理兼容BSSManager

unknown 5 năm trước cách đây
mục cha
commit
e1e288afbf
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();