Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
浙江兰德纵横网络技术股份有限公司
o2oa
提交
bf8e0444
o2oa
项目概览
浙江兰德纵横网络技术股份有限公司
/
o2oa
通知
339
Star
10
Fork
6
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bf8e0444
编写于
6月 01, 2022
作者:
O
o2sword
2
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复流程启动权限配置身份(用户有多身份)不生效的问题
上级
5a5862bf
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
6 deletion
+10
-6
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreate.java
...essplatform/assemble/surface/jaxrs/work/ActionCreate.java
+4
-3
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreateForce.java
...atform/assemble/surface/jaxrs/work/ActionCreateForce.java
+2
-1
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreateWithApplicationProcess.java
...urface/jaxrs/work/ActionCreateWithApplicationProcess.java
+2
-1
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreateWithApplicationProcessForce.java
...e/jaxrs/work/ActionCreateWithApplicationProcessForce.java
+2
-1
未找到文件。
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreate.java
浏览文件 @
bf8e0444
...
...
@@ -71,6 +71,7 @@ class ActionCreate extends BaseAction {
if
(!
business
.
application
().
allowRead
(
effectivePerson
,
roles
,
identities
,
units
,
application
))
{
throw
new
ExceptionApplicationAccessDenied
(
effectivePerson
.
getDistinguishedName
(),
application
.
getId
());
}
identities
=
List
.
of
(
identity
);
List
<
String
>
groups
=
business
.
organization
().
group
().
listWithIdentity
(
identities
);
if
(!
business
.
process
().
startable
(
effectivePerson
,
identities
,
units
,
groups
,
process
))
{
throw
new
ExceptionAccessDenied
(
effectivePerson
,
process
);
...
...
@@ -105,7 +106,7 @@ class ActionCreate extends BaseAction {
/**
* 拼装返回结果
*
*
* @param effectivePerson
* @param workId
* @return
...
...
@@ -140,7 +141,7 @@ class ActionCreate extends BaseAction {
/**
* 如果不是草稿那么需要进行设置
*
*
* @param wi
* @param identity
* @param workId
...
...
@@ -402,4 +403,4 @@ class ActionCreate extends BaseAction {
wo
.
setTaskCompletedList
(
list
);
}
}
\ No newline at end of file
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreateForce.java
浏览文件 @
bf8e0444
...
...
@@ -69,6 +69,7 @@ class ActionCreateForce extends BaseAction {
if
(!
business
.
application
().
allowRead
(
effectivePerson
,
roles
,
identities
,
units
,
application
))
{
throw
new
ExceptionApplicationAccessDenied
(
effectivePerson
.
getDistinguishedName
(),
application
.
getId
());
}
identities
=
List
.
of
(
identity
);
List
<
String
>
groups
=
business
.
organization
().
group
().
listWithIdentity
(
identities
);
if
(!
business
.
process
().
startable
(
effectivePerson
,
identities
,
units
,
groups
,
process
))
{
throw
new
ExceptionAccessDenied
(
effectivePerson
,
process
);
...
...
@@ -393,4 +394,4 @@ class ActionCreateForce extends BaseAction {
// wo.setTaskCompletedList(results);
}
}
\ No newline at end of file
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreateWithApplicationProcess.java
浏览文件 @
bf8e0444
...
...
@@ -77,6 +77,7 @@ class ActionCreateWithApplicationProcess extends BaseAction {
if
(!
business
.
application
().
allowRead
(
effectivePerson
,
roles
,
identities
,
units
,
application
))
{
throw
new
ExceptionApplicationAccessDenied
(
effectivePerson
.
getDistinguishedName
(),
application
.
getId
());
}
identities
=
List
.
of
(
identity
);
List
<
String
>
groups
=
business
.
organization
().
group
().
listWithIdentity
(
identities
);
if
(!
business
.
process
().
startable
(
effectivePerson
,
identities
,
units
,
groups
,
process
))
{
throw
new
ExceptionAccessDenied
(
effectivePerson
,
process
);
...
...
@@ -386,4 +387,4 @@ class ActionCreateWithApplicationProcess extends BaseAction {
// wo.setTaskCompletedList(results);
}
}
\ No newline at end of file
}
o2server/x_processplatform_assemble_surface/src/main/java/com/x/processplatform/assemble/surface/jaxrs/work/ActionCreateWithApplicationProcessForce.java
浏览文件 @
bf8e0444
...
...
@@ -76,6 +76,7 @@ class ActionCreateWithApplicationProcessForce extends BaseAction {
if
(!
business
.
application
().
allowRead
(
effectivePerson
,
roles
,
identities
,
units
,
application
))
{
throw
new
ExceptionApplicationAccessDenied
(
effectivePerson
.
getDistinguishedName
(),
application
.
getId
());
}
identities
=
List
.
of
(
identity
);
List
<
String
>
groups
=
business
.
organization
().
group
().
listWithIdentity
(
identities
);
if
(!
business
.
process
().
startable
(
effectivePerson
,
identities
,
units
,
groups
,
process
))
{
throw
new
ExceptionAccessDenied
(
effectivePerson
,
process
);
...
...
@@ -385,4 +386,4 @@ class ActionCreateWithApplicationProcessForce extends BaseAction {
// wo.setTaskCompletedList(results);
}
}
\ No newline at end of file
}
liyi_hz2008
@liyi_hz2008
mentioned in commit
2a598239
·
6月 01, 2022
mentioned in commit
2a598239
mentioned in commit 2a5982392482cbb11517b2fb6e9d8ae6017c4b6c
开关提交列表
liyi_hz2008
@liyi_hz2008
mentioned in commit
7b025ecb
·
6月 14, 2022
mentioned in commit
7b025ecb
mentioned in commit 7b025ecbc023d2b8e6b0349ffc4286220abdbfec
开关提交列表
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录