0 Replies Latest reply on Aug 27, 2015 6:02 AM by bill2004158

    is it Possible to config username of "super admin"(rather than hard code to "Administrator")?

    bill2004158

      I saw many code has hard code to userId "Administrator".
      https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-workitems/src/main/java/org/jbpm/services/task/wih/LocalHTWorkItemHandler.java#L103
      https://github.com/droolsjbpm/jbpm/blob/master/jbpm-human-task/jbpm-human-task-workitems/src/main/java/org/jbpm/services/task/wih/util/PeopleAssignmentHelper.java#L108
      https://github.com/droolsjbpm/jbpm/blob/6.2.0.Final/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/services/task/commands/ProcessSubTaskCommand.java#L77
      the problem is in our AD, system admin doesn't allowed to create user named "Administrator", for some security reason. now the problem is, JBPM cannot find user whose name is "Administrator". and caused some feature cannot works correctly.
      so, is it possible to config the user name of "super admin", rather than hard code it. as a result, I can config any user as super admin, and no need create  "Administrator" in our AD.