1 Reply Latest reply on Dec 2, 2011 3:25 PM by bpmn2user

    (JBPM5.1)How to set the user limits of jbpm-console?

    jimmy.dongjia

      Three questions:

      1.  Don't allow everyone to start or delete or terminal a process.

      2.  Set the users who can login the jbpm-console.

      3.  usually,use jbpm-console  or create a yourself console,which is better?

       

      Thanks!!

        • 1. Re: (JBPM5.1)How to set the user limits of jbpm-console?
          bpmn2user

          1.  Don't allow everyone to start or delete or terminal a process.

           

          This requires some changes to the default code. But it is possible.

           

          2.  Set the users who can login the jbpm-console.

          You might want to look at http://docs.jboss.org/jbpm/v5.1/userguide/ch11.html. Specifically the following section

          The human task service requires you to define which groups a user is part of, so that he can then claim the tasks that are assigned to one of the groups he is part of. The console uses username / group association for that. When using JBossAS for example, this can be specified in the roles.properties file in the server/{profile}/conf folder. There you can specify the combination of users and the groups they are part of.

          When using the jBPM installer, a predefined roles.properties file (located in the auth folder) is copied to the jbossas/server/default/conf folder automatically. This file can be edited and contains the groups the predefined users are part of (as these are commonly used in examples): all users are part of the admin, manager and user group but john is also part of the PM (project management) group, mary is part of HR (human resources) and sales-rep is part of sales.

           

          3.  usually,use jbpm-console  or create a yourself console,which is better?

           

          Each option has its own advantages and it really depends on your requirements. If you wnat to have a standalone console, you can use the first option. If you already have a console or front-end you can embed the engine using API.