类 GeneralAccessStrategy
java.lang.Object
net.sohelp.boot.engine.workflow.impl.GeneralAccessStrategy
- 所有已实现的接口:
TaskAccessStrategy
基于用户或组(角色、部门等)的访问策略类
该策略类适合组作为参与者的情况
- 从以下版本开始:
- 1.0
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明isAllowed(String userId, List<FlwTaskActor> taskActors) 如果创建人ID所属的组只要有一项存在于参与者集合中,则表示可访问从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 net.sohelp.boot.engine.workflow.TaskAccessStrategy
getAllowedFlwTaskActor
-
构造器详细资料
-
GeneralAccessStrategy
public GeneralAccessStrategy()
-
-
方法详细资料
-
isAllowed
如果创建人ID所属的组只要有一项存在于参与者集合中,则表示可访问- 指定者:
isAllowed在接口中TaskAccessStrategy- 参数:
userId- 用户IDtaskActors- 参与者列表- 返回:
- 被允许参与者
FlwTaskActor
-