获取header权限方法更换使用用户权限缓存获取app应用权限
This commit is contained in:
parent
a57502c9f0
commit
af0d3a1a25
@ -25,6 +25,7 @@ import java.util.*;
|
||||
|
||||
import com.actionsoft.apps.coe.pal.constant.CoEConstant;
|
||||
import com.actionsoft.apps.coe.pal.cooperation.CoeCooperationAPIManager;
|
||||
import com.actionsoft.apps.coe.pal.cooperation.cache.CooperationCache;
|
||||
import com.actionsoft.apps.coe.pal.cooperation.model.CoeCooperationTeamModel;
|
||||
import com.actionsoft.apps.coe.pal.log.CoEOpLogAPI;
|
||||
import com.actionsoft.apps.coe.pal.log.CoEOpLogConst;
|
||||
@ -1181,7 +1182,7 @@ public class NavigationWeb extends ActionWeb {
|
||||
if (UtilString.isNotEmpty(teamId)) {
|
||||
for (int i = 0; i < teamOptions.size(); i++) {
|
||||
String tempTeamId = teamOptions.getJSONObject(i).getString("teamId");
|
||||
Set<String> appPerm = CoeCooperationAPIManager.getInstance().queryAppPerm(tempTeamId, _uc.getUID());
|
||||
Set<String> appPerm = CooperationCache.getUserAPPPermission(tempTeamId, _uc.getUID());
|
||||
JSONArray tempList = new JSONArray();
|
||||
for (int j = 0; j < appList.size(); j++) {
|
||||
JSONObject app = appList.getJSONObject(j);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user