提交 b1fecbf5 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'fix/数据中心模块设置权限不生效' into 'develop'

Merge of fix/[数据中心管理]数据中心模块设置权限不生效 to develop

See merge request o2oa/o2oa!429
...@@ -27,9 +27,6 @@ class ActionListAll extends BaseAction { ...@@ -27,9 +27,6 @@ class ActionListAll extends BaseAction {
try (EntityManagerContainer emc = EntityManagerContainerFactory.instance().create()) { try (EntityManagerContainer emc = EntityManagerContainerFactory.instance().create()) {
logger.debug(effectivePerson, effectivePerson.getDistinguishedName()); logger.debug(effectivePerson, effectivePerson.getDistinguishedName());
Business business = new Business(emc); Business business = new Business(emc);
if (!business.controllable(effectivePerson)) {
throw new ExceptionAccessDenied(effectivePerson.getDistinguishedName());
}
ActionResult<List<Wo>> result = new ActionResult<>(); ActionResult<List<Wo>> result = new ActionResult<>();
List<Wo> wos = this.list(business, effectivePerson); List<Wo> wos = this.list(business, effectivePerson);
List<String> ids = ListTools.extractProperty(wos, Query.id_FIELDNAME, String.class, true, true); List<String> ids = ListTools.extractProperty(wos, Query.id_FIELDNAME, String.class, true, true);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册