问题描述
我想为Power-user
角色或我的自定义用户禁用Control Panel > My Account
portlet(删除访问权限).
I want to disable (remove access) for Control Panel > My Account
portlet for Power-user
role or for my custom user.
它应该显示为Administrator
角色.是否有任何门户网站属性或其他配置?
It should display for Administrator
role. Is there any portal properties or some other configuration?
还是我们需要通过编码来实现某些目标?
Or do we need to achieve something through coding?
推荐答案
我不确定其他答案中的过程是否有效.我对版本6.0.6表示怀疑.
I am not sure if the procedure in the other answer works. I doubt it for the version 6.0.6.
另一种方法是从Liferay中删除我的帐户" portlet.为此,请在<Liferay>/webapps/ROOT/WEB-INF/
中打开文件liferay-portlet.xml
,然后删除具有portlet名称2的portlet条目.
Another approach is to remove the My Accounts portlet from Liferay. To do so, open the file liferay-portlet.xml
in <Liferay>/webapps/ROOT/WEB-INF/
and remove the portlet entry with the portlet-name 2.
注意:如果您这样做:没有用户将能够查看此portlet.但是管理员可以查看用户" Portlet,并且可以在该位置更改帐户.
Note: If you do so: no user will be able to view this portlet. But administrators are able to view the Users portlet and they can change their account at that location.
这篇关于如何禁用控制面板的“我的帐户"仅用于高级用户角色的Portlet的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!