Message Boards

RE: LR7: Assigning roles by default to users in group

thumbnail
Olaf Kock, modified 7 Years ago.

RE: LR7: Assigning roles by default to users in group

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
Julian Pfeil:
What do i need to set, so that every (current and future) user in a user group is assigned the Administrator role by default?
Is it still possible to assign a role to a user group as in LR 6? Because i can't find this options in LR 7.


Control Panel / Configuration / Instance Settings / (scroll down to) Users / Default User Associations
Julian Pfeil, modified 7 Years ago.

RE: LR7: Assigning roles by default to users in group

Junior Member Posts: 72 Join Date: 3/1/16 Recent Posts
Olaf Kock:
Julian Pfeil:
What do i need to set, so that every (current and future) user in a user group is assigned the Administrator role by default?
Is it still possible to assign a role to a user group as in LR 6? Because i can't find this options in LR 7.


Control Panel / Configuration / Instance Settings / (scroll down to) Users / Default User Associations



I don't want to assign every new user this role, only users who are in a particular group.

E.g. in Liferay 6 i could create a special regular IT-Role for our IT and a group called IT. Then i went to the role and did assign the IT-Group to it. Now whenever someone in the it-group logs in, she/he will automatically have the IT-Role permissions, and not every new user.
thumbnail
Olaf Kock, modified 7 Years ago.

RE: LR7: Assigning roles by default to users in group

Liferay Legend Posts: 6403 Join Date: 9/23/08 Recent Posts
Julian Pfeil:
I don't want to assign every new user this role, only users who are in a particular group.

E.g. in Liferay 6 i could create a special regular IT-Role for our IT and a group called IT. Then i went to the role and did assign the IT-Group to it. Now whenever someone in the it-group logs in, she/he will automatically have the IT-Role permissions, and not every new user.


I've been missing this for a while, sorry. And it also took me a while to find it: From Control Panel / Users / Roles: Choose "User Groups" from the select field below "Assignees". Then the "Add" Button and add a UserGroup to that role. I've looked for this feature on the UserGroup side, but couldn't find it there. I guess you did so as well.
Julian Pfeil, modified 7 Years ago.

RE: LR7: Assigning roles by default to users in group

Junior Member Posts: 72 Join Date: 3/1/16 Recent Posts
Olaf Kock:
Julian Pfeil:
I don't want to assign every new user this role, only users who are in a particular group.

E.g. in Liferay 6 i could create a special regular IT-Role for our IT and a group called IT. Then i went to the role and did assign the IT-Group to it. Now whenever someone in the it-group logs in, she/he will automatically have the IT-Role permissions, and not every new user.


I've been missing this for a while, sorry. And it also took me a while to find it: From Control Panel / Users / Roles: Choose "User Groups" from the select field below "Assignees". Then the "Add" Button and add a UserGroup to that role. I've looked for this feature on the UserGroup side, but couldn't find it there. I guess you did so as well.


Hey,... i also missed to update this question. The Problem was that i did miss the "+"-Button (the add button).

In any case: Thank You!