4 Replies Latest reply on Feb 5, 2010 9:48 AM by cmjhingeniero

    Create Groups and Users

      Hi  guys

      You can create different user groups to  which they are created from the target load.example.identities??

       

      Are  there restrictions on users or group?


      I tried to create them directly in the  database, but users who are in the new user groups will not let me log  into the jbpm-console

       

      Postgres, Tomcat 6.0 and jBPM-4.2


      Thanks

        • 1. Re: Create Groups and Users
          sebastian.s
          The users have to be member of the group "user" to be granted permission to login. This is due to the implementation/configuration of the BPM console. Creating new users directly in the database is one way. You can also use the IdentityService interface which is provided by the process engine. See the javadocs for the available methods.
          • 2. Re: Create Groups and Users
            Thanks for your reply. I understand  the model that users must belong to a group. What happens is that I have created a  group (database directly and also through the interface  IdentityService). The group is created either in the database. Then I create a user interface IdentityService and create good. Then in the table relate jbpm4_id_membership the user  with the new group and all is well.

            The problem is that treatment logearme  jbpm web console with the new user and will not let me enter. It brings me no error  message

            Thanks
            • 3. Re: Create Groups and Users
              sebastian.s
              Please re-read my previous post. I said that they have to be member of group "user" coming with the example identities. I am pretty sure because I was facing the same problem when testing something with newly created users. So create your own group and add your users to it but also add them to the group called "user". The console checks if they are member of this group (it's used as a security-role).
              • 4. Re: Create Groups and Users

                Excuse me. I understand

                 

                Thanks