Forums de discussion
Remove inherited user roles
Charlotte Pantzerhielm, modifié il y a 10 années.
Remove inherited user roles
New Member Publications: 5 Date d'inscription: 12/11/13 Publications récentes
Hi!
I am a very new user to LifeRay and have a question regarding user roles. I have not myself done the installation etc. of LifeRay, and I am not a developer. There is already excisting content/organizations/sites, that I have created. But I have created a new organization and added two new users to that organization, this works perfectly. But automaticly the users gets an inherited user role (administrator) for the already excisting parent organization (not sure if this is what it is called) which I can't remove! This means that the users can access the control panel and edit everything (add/remove user etc.) in the other organizations, and this is a huge problem! Please, have understanding for me being a very novice first time user, but I've got stuck and would really appreciate some help and explaining.
Thank you!
I am a very new user to LifeRay and have a question regarding user roles. I have not myself done the installation etc. of LifeRay, and I am not a developer. There is already excisting content/organizations/sites, that I have created. But I have created a new organization and added two new users to that organization, this works perfectly. But automaticly the users gets an inherited user role (administrator) for the already excisting parent organization (not sure if this is what it is called) which I can't remove! This means that the users can access the control panel and edit everything (add/remove user etc.) in the other organizations, and this is a huge problem! Please, have understanding for me being a very novice first time user, but I've got stuck and would really appreciate some help and explaining.
Thank you!
Corné Aussems, modifié il y a 10 années.
RE: Remove inherited user roles
Liferay Legend Publications: 1313 Date d'inscription: 03/10/06 Publications récentesCharlotte Pantzerhielm:
Hi!
I am a very new user to LifeRay and have a question regarding user roles. I have not myself done the installation etc. of LifeRay, and I am not a developer. There is already excisting content/organizations/sites, that I have created. But I have created a new organization and added two new users to that organization, this works perfectly. But automaticly the users gets an inherited user role (administrator) for the already excisting parent organization (not sure if this is what it is called) which I can't remove! This means that the users can access the control panel and edit everything (add/remove user etc.) in the other organizations, and this is a huge problem! Please, have understanding for me being a very novice first time user, but I've got stuck and would really appreciate some help and explaining.
Thank you!
Welcome Charlotte,
Check these settings:
Goto >> Control Panel >> [Portal] Portal Settings >>option "Users" (left side) >> Tab "Default User Associations"
Remove Administrator role
Good luck!
Corné Aussems, modifié il y a 10 années.
RE: Remove inherited user roles
Liferay Legend Publications: 1313 Date d'inscription: 03/10/06 Publications récentes
I checked this on an empty Liferay 6.1 EE GA 2, and if i add "Organization Administrator" to the default associations i can't see that the user gets a admin role for the parent organization.
Maybe a user gets associated with a default usergroup or so. please post your settings and Liferay version
Maybe a user gets associated with a default usergroup or so. please post your settings and Liferay version
Charlotte Pantzerhielm, modifié il y a 10 années.
RE: Remove inherited user roles
New Member Publications: 5 Date d'inscription: 12/11/13 Publications récentes
I am using Liferay Portal Community Edition 6.1.1 CE GA2, and the settings under "Default User Associations" are:
Sites: none
Roles: Power User, User
User groups: none
Which other settings would you like to know?
Thank you for your help!
Sites: none
Roles: Power User, User
User groups: none
Which other settings would you like to know?
Thank you for your help!
Charlotte Pantzerhielm, modifié il y a 10 années.
RE: Remove inherited user roles
New Member Publications: 5 Date d'inscription: 12/11/13 Publications récentes
UPDATE: Solved the problem by reinstalling and redoing everything, luckily that didn't involve too much work. I think there was some misstake in the installation that messed things up. I can now also see that other functions in LifeRay makes more sence, had some other wierd errors before. Thank you again for you help, sorry that I can't contribute with a better explanation to what was causing the problem.
Jay Trivedi, modifié il y a 9 années.
RE: Remove inherited user roles
Regular Member Publications: 109 Date d'inscription: 24/11/12 Publications récentes
Hi,
Good that you had a fresh installation on your machine and pop-up to every problem on the fly.
But for those who don't want to go with re-installation again and need to resolve the problem. At first try approach by going to portal settings and looking into hint provided in above comments.
Check these settings:
Goto >> Control Panel >> Portal Settings >>option "Users" (left side) >> Tab "Default User Associations"
Remove Administrator role
Still if you are not able to resolve your problem then,
1. Create user don't add any organisation to it.
2. See that inherited roles will be blank
3. Now start adding Organisation one by one. Just after adding organisation check inherited roles.
4. If you see and role gets inherited after adding any organisation.
then you need to goto >> Users and Organisations >> Goto Any Organisation >> Assign Organisation Roles >> change Permissoins
If you face this issue by selecting site the you can follow same approach by updating site.
I am still working on internal structure how it adds entry to database .. If you get any pin point you can update this chain.
Thanks,
Jay
Good that you had a fresh installation on your machine and pop-up to every problem on the fly.
But for those who don't want to go with re-installation again and need to resolve the problem. At first try approach by going to portal settings and looking into hint provided in above comments.
Check these settings:
Goto >> Control Panel >> Portal Settings >>option "Users" (left side) >> Tab "Default User Associations"
Remove Administrator role
Still if you are not able to resolve your problem then,
1. Create user don't add any organisation to it.
2. See that inherited roles will be blank
3. Now start adding Organisation one by one. Just after adding organisation check inherited roles.
4. If you see and role gets inherited after adding any organisation.
then you need to goto >> Users and Organisations >> Goto Any Organisation >> Assign Organisation Roles >> change Permissoins
If you face this issue by selecting site the you can follow same approach by updating site.
I am still working on internal structure how it adds entry to database .. If you get any pin point you can update this chain.
Thanks,
Jay
David H Nebinger, modifié il y a 9 années.
RE: Remove inherited user roles
Liferay Legend Publications: 14917 Date d'inscription: 02/09/06 Publications récentesJay Trivedi:
Check these settings:
Goto >> Control Panel >> Portal Settings >>option "Users" (left side) >> Tab "Default User Associations"
Remove Administrator role
If you have administrator role assigned as a default user association, you've got bigger problems in your system.
I am still working on internal structure how it adds entry to database .. If you get any pin point you can update this chain.
You should never ever be in the database. The database is not yours to play in or understand, Liferay changes how the database is used on each release (so your knowledge would only be limited to one version) and frankly since logical keys are managed by the source you will never understand all of the relationships anyway.
Supriya Chari, modifié il y a 7 années.
RE: Remove inherited user roles
New Member Publications: 6 Date d'inscription: 15/12/15 Publications récentes
Hi,
The issue can be resolved as follows:
1) Go to Control Panel > Roles > Select a particular role > Assign Members > Select the Sites tab
2) Deselect the sites which are selected.
This will remove the inherited regular roles assigned to a user.
All the users associated with a site assigned to role will inherit that role. All you got to do is remove itttt
Thanks,
Supriya
The issue can be resolved as follows:
1) Go to Control Panel > Roles > Select a particular role > Assign Members > Select the Sites tab
2) Deselect the sites which are selected.
This will remove the inherited regular roles assigned to a user.
All the users associated with a site assigned to role will inherit that role. All you got to do is remove itttt
Thanks,
Supriya
Charlotte Pantzerhielm, modifié il y a 10 années.
RE: Remove inherited user roles
New Member Publications: 5 Date d'inscription: 12/11/13 Publications récentes
Thank you for you response! Unfortuneatly, the only roles added under "Defaul User Associations" are Power User and User, not Administrator. But could the problem perhaps be here anyway?