Class AccessRoleController

java.lang.Object
org.imixs.workflow.office.config.AccessRoleController
All Implemented Interfaces:
Serializable

@Named @SessionScoped public class AccessRoleController extends Object implements Serializable
This AccessRoleController supports the migration from the old txtgroups property in a userprofile to the new access roles.

Since version 4.5.1 a list of fixed UserGroups is supported only.

Author:
rsoika
See Also:
  • Field Details

    • ACCESS_ROLES

      public static final String[] ACCESS_ROLES
  • Constructor Details

    • AccessRoleController

      public AccessRoleController()
  • Method Details

    • onWorkflowEvent

      public void onWorkflowEvent(@Observes org.imixs.workflow.faces.data.WorkflowEvent workflowEvent)
      WorkflowEvent listener to update the current FormDefinition.
      Parameters:
      workflowEvent -
      Throws:
      org.imixs.workflow.exceptions.AccessDeniedException
      org.imixs.workflow.exceptions.ModelException
    • setUserRole

      public void setUserRole(String role)
    • getUserRole

      public String getUserRole()
    • getAccessRoles

      public String[] getAccessRoles()