Просмотр исходного кода

1、修复数据中心模块设置权限不生效的问题

o2sword 5 лет назад
Родитель
Сommit
2a4dcdad17

+ 0 - 3
o2server/x_query_assemble_designer/src/main/java/com/x/query/assemble/designer/jaxrs/query/ActionListAll.java

@@ -27,9 +27,6 @@ class ActionListAll extends BaseAction {
 		try (EntityManagerContainer emc = EntityManagerContainerFactory.instance().create()) {
 			logger.debug(effectivePerson, effectivePerson.getDistinguishedName());
 			Business business = new Business(emc);
-			if (!business.controllable(effectivePerson)) {
-				throw new ExceptionAccessDenied(effectivePerson.getDistinguishedName());
-			}
 			ActionResult<List<Wo>> result = new ActionResult<>();
 			List<Wo> wos = this.list(business, effectivePerson);
 			List<String> ids = ListTools.extractProperty(wos, Query.id_FIELDNAME, String.class, true, true);