cancel
Showing results for 
Search instead for 
Did you mean: 

difference between security-role and assignment

b_schnarr
Champ in-the-making
Champ in-the-making
Hello at all,

when I create a new group, there are the two types security-role and assignment. The assignment type is clear, but I do not understand how to make use of the security-role groups.

I want to create several security-role groups, e.g. admin, users and modelers. Depending on the security-role group, users can see different elements in the activiti explorer. For example, users can´t see the model workspace section, modelers and admins can.

Is this possible with the security-role group concept?

Thanks and best regards
Ben
6 REPLIES 6

trademak
Star Contributor
Star Contributor
We use the security-role for the Activiti Explorer only. You can use it for your own custom web application as well of course. No other functionality is attached to security-role for the Activiti Engine.

Best regards,

b_schnarr
Champ in-the-making
Champ in-the-making
Thanks for your answer. It is very comfortable to work with those security roles, especially because they do not appear in the activiti explorer for assignment. Lets say I use LDAP Groups. LDAP does not distinguish between assignment and security role. How could I achieve this? Lets say I have a LDAP Group sales and a LDAP group admin. Is there a way that the explorer knows sales as assignment group and admin as security role?

Thanks for your help and best regards
Ben

b_schnarr
Champ in-the-making
Champ in-the-making
No replies anymore in this forum?

frederikherema1
Star Contributor
Star Contributor
You can extends the LDAP implementation in activiti and add additional 'fake' roles based on any data you have available.

cshar
Champ in-the-making
Champ in-the-making
Hi, I am stuck up on something same for my struts 2 web app that is using activiti as backend engine to define approval process. I would like to have a capability of adding roles and assigning permissions to those roles. I should be able to attach roles to the users accordingly. Could you please advise. Thanks!

jbarrez
Star Contributor
Star Contributor
You need to make the users part of a group (or more). In the process definitions, you us the 'candidateGroup' to assign a task to a group.
When the user logs in, get his/her groups and do a query with those groups for candidateGroup.