snaker-core/src/main/java/org/snaker/engine/impl/GeneralAccessStrategy.java
public boolean isAllowed(String operator, List<TaskActor> actors) {
		List<String> assignees = ensureGroup(operator);
		if(assignees == null) assignees = new ArrayList<String>();
		assignees.add(operator);
		boolean isAllowed = false;
		for (TaskActor actor : actors) {
			for (String assignee : assignees) {
				if (actor.getActorId().equals(assignee)) {
					isAllowed = true;
					break;
				}
			}
		}
		return isAllowed;
	}
public boolean isAllowed(String operator, List<TaskActor> actors) {
		List<String> assignees = ensureGroup(operator);
		if(assignees == null) assignees = new ArrayList<String>();
		assignees.add(operator);
		boolean isAllowed = false;
		for (TaskActor actor : actors) {
			for (String assignee : assignees) {
				if (actor.getActorId().equals(assignee)) {
					isAllowed = true;
					break;
				}
			}
		}
		return isAllowed;
	}
public boolean isAllowed ( String operator , List < TaskActor > actors ) { List < String > assignees = ensureGroup ( operator ) ; if ( assignees == null ) assignees = new ArrayList < String > ( ) ; assignees . add ( operator ) ; boolean isAllowed = false ; for ( TaskActor actor : actors ) { for ( String assignee : assignees ) { if ( actor . getActorId ( ) . equals ( assignee ) ) { isAllowed = true ; break ; } } } return isAllowed ; }
如果操作人id所属的组只要有一项存在于参与者集合中，则表示可访问
如果操作人id所属的组只要有一项存在于参与者集合中，则表示可访问