6 Replies Latest reply on May 8, 2008 4:10 PM by kukeltje

    Where and how to define new users?

    coolex

      Hello all!

      I red in the jbpm-console that I have to change the users list in the web.xml.
      But I don't know which web.xml.
      Please tell me where to find this xml file.
      I also would like to know if this users are assigned for all my projects and processes?

      Thanks.

      Alex

        • 1. Re: Where and how to define new users?
          coolex

          Ok, I found this file but I only can change the list that displays the users.
          I cannot understand where I can define new users? Like the "manager" or the simple "user" in the sample of jBoss jBPM console.

          • 2. Re: Where and how to define new users?
            coolex

            Please, does anybody have an idea?

            • 3. Re: Where and how to define new users?
              salaboy21

              I have no deep understandment of this topic in particular.. but i recommend you to look at 3 things:
              1) Database Schema: 3 tables: JBPM_ID_GROUP, JBPM_ID_USER, JBPM_ID_MEMBERSHIP. If you insert data in this three tables, you must be able to define your user, groups and the relationships between them..
              2) Look at web.xml inside jbpm-console.war/WEB-INF/ (you could explode the war and modify this archive)
              3) Look at access.properties inside jbpm-console.war/WEB-INF/ , in this file you can find, what role or user can do some specific thing inside the web jbpm-console...

              Let me know if you find some useful document about this..

              • 4. Re: Where and how to define new users?
                coolex

                Ok, I found out where I can define new users.
                But still I'm confused. I cannot understand the relation between swimlanes, actors, the users and the groups I can define in the jbpm-console.
                E.g. the "Fix web order data" task in the websale example is assigned to a buyer but I can see the task (with the form) as a normal user in the console though there is no user or group in the jbpm-console that is called buyer!

                • 5. Re: Where and how to define new users?
                  salaboy21

                  I think the best to look at this concept is the following:

                  User or actor: is one user on your identity provider

                  Group: is a named collection of users

                  Swimlane: is a process role, you define a swimlane to say that one set of task must be done by the same user from a collection of users...

                  • 6. Re: Where and how to define new users?
                    kukeltje

                     

                    But still I'm confused. I cannot understand the relation between swimlanes, actors, the users and the groups I can define in the jbpm-console.


                    In addition to salaboys' comments, I'd suggest to just experiment a little and learn while making mistakes. Or read some tutorial or buy a book on jbpm (or even generic concepts like swimlane, actor, group etc)