Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: how to disable a normal user from seeing the list of users in liferay 7.0
by accessing via url a normal user can see the list of users who are part of the instance even if he cannot do anything, but I would not want any user to have access to this list through the following link:
https://urlInstance/group/control_panel/manage?p_p_id=com_liferay_my_account_web_portlet_MyAccountPortlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_com_liferay_my_account_web_portlet_MyAccountPortlet_javax.portlet.action=%2Fusers_admin%2Fedit_user&p_p_auth=ncrtGfLpis there any property to set or some permission to modify? I tried setting the following properties in the portal-ext.properties but nothing:
https://urlInstance/group/control_panel/manage?p_p_id=com_liferay_my_account_web_portlet_MyAccountPortlet&p_p_lifecycle=1&p_p_state=maximized&p_p_mode=view&_com_liferay_my_account_web_portlet_MyAccountPortlet_javax.portlet.action=%2Fusers_admin%2Fedit_user&p_p_auth=ncrtGfLpis there any property to set or some permission to modify? I tried setting the following properties in the portal-ext.properties but nothing:
sites.control.panel.members.visible = false
user.groups.search.with.index=false
users.list.views= (empty)
fer ros:
by accessing via url a normal user can see the list of users who are part of the instance even if he cannot do anything, but I would not want any user to have access to this list
Do you see a list of users? I see the current user's account, as the MyAccountPortlet suggests.
Olaf Kock:
fer ros:
by accessing via url a normal user can see the list of users who are part of the instance even if he cannot do anything, but I would not want any user to have access to this list
Do you see a list of users? I see the current user's account, as the MyAccountPortlet suggests.
a normal user does not have access to the portal from the graphical interface ... but if he enters the url indicated in the question, unfortunately any user can see the list of all users who are registered on the specific instance
attached is as I see it when a normal user types the url mentioned in the question
Attachments:
Which version?
Olaf Kock:
7.0 -ga5
Which version?
Sorry, I can't reproduce on 7.2 (DXP, but not even the latest fixpack).
Maybe it's a bug that's long been fixed?
Maybe it's a bug that's long been fixed?
A normal User is not allowed to see the other site membership,
In this case check the roles assigned to this user, This user should has only the user role
if you find that the user has also a Power User role in this case be sure that this power user role is causing the issue. plz check the roles by userId in the liferay database side.
In this case check the roles assigned to this user, This user should has only the user role
if you find that the user has also a Power User role in this case be sure that this power user role is causing the issue. plz check the roles by userId in the liferay database side.
Hi all, I am facing the same issue in Liferay 7.0. I've tried the configuration posted by @fer ros in portal-ext.properties but not working.
Also it seems that the problem does not come from having the Power user assigned, since removing it a normal user can still have access to the user list.
Any help is welcome
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™