try {
List<SmallContentType> contentTypes = this.getManagingContentTypes(user);
boolean isSupervisor = this.getAuthorizationManager().isAuthOnPermission(user, Permission.SUPERVISOR);
for (int i = 0; i < contentTypes.size(); i++) {
SmallContentType type = contentTypes.get(i);
Workflow workflow = this.getWorkflow(type.getCode());
WorkflowSearchFilter filter = new WorkflowSearchFilter();
filter.setTypeCode(type.getCode());
List<String> allowedSteps = this.getAllowedStatus(user, isSupervisor, workflow);
filter.setAllowedSteps(allowedSteps);
filters.add(filter);