留言板
How to remove left menu in control panel fo Users?
Sanya Presich,修改在15 年前。
How to remove left menu in control panel fo Users?
Junior Member 帖子: 95 加入日期: 09-3-5 最近的帖子
Hi.
I'm trying to forbid users have access to portlets in left menu of control panel (in category Content: web content, calendar etc.).
I've tried to change liferay-portlet.xml, portlet-custom.xml but haven't find any solution.
Users anyway have access to the Guests community Web content, calendar and another menus....
Please help.
I'm trying to forbid users have access to portlets in left menu of control panel (in category Content: web content, calendar etc.).
I've tried to change liferay-portlet.xml, portlet-custom.xml but haven't find any solution.
Users anyway have access to the Guests community Web content, calendar and another menus....
Please help.
Cool X,修改在15 年前。
RE: How to remove left menu in control panel fo Users?
New Member 帖子: 14 加入日期: 09-2-19 最近的帖子
Hi Sanya,
Go to portlet configuration. Select the portlet which you want to hide for user from appearing in conrol panel. Say calendear. Click it.
It says for which users its available. Remover "User" from the list. Thats it.
Go to portlet configuration. Select the portlet which you want to hide for user from appearing in conrol panel. Say calendear. Click it.
It says for which users its available. Remover "User" from the list. Thats it.
Sanya Presich,修改在15 年前。
RE: How to remove left menu in control panel fo Users?
Junior Member 帖子: 95 加入日期: 09-3-5 最近的帖子
Not so easy as I thought))
If you remove both User and Power User from the list, you allow for all roles to access certain portlet.
And, if you want to allow it only for admin, you must write Administrator in portlet configuration.
The same is for portlet-custom.xml file:
If you remove both User and Power User from the list, you allow for all roles to access certain portlet.
And, if you want to allow it only for admin, you must write Administrator in portlet configuration.
The same is for portlet-custom.xml file:
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
<!--
<security-role-ref>
<role-name>guest</role-name>
</security-role-ref>
<security-role-ref>
<role-name>power-user</role-name>
</security-role-ref>
<security-role-ref>
<role-name>user</role-name>
</security-role-ref>
-->
Eugen B,修改在11 年前。
RE: How to remove left menu in control panel fo Users?
New Member 帖子: 2 加入日期: 12-8-21 最近的帖子
I tried this:
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
It doesn't work, but it must work.
<security-role-ref>
<role-name>administrator</role-name>
</security-role-ref>
It doesn't work, but it must work.
Matthieu Levesque,修改在11 年前。
RE: How to remove left menu in control panel fo Users?
Junior Member 帖子: 64 加入日期: 09-2-13 最近的帖子
The only way I was able to do this was to create custom roles selecting the few portlet I want to show to user.
The thing we didn't like with this was there is no way to export your roles from an instance and it can be a bit long to redo them if you have multiple instances.
The thing we didn't like with this was there is no way to export your roles from an instance and it can be a bit long to redo them if you have multiple instances.
Michal Rajniak,修改在11 年前。
RE: How to remove left menu in control panel fo Users?
Junior Member 帖子: 25 加入日期: 12-5-28 最近的帖子
This is an old thread, but in Liferay 6.1.1 you shouldn't need to write any code, or edit xmls, to accomplish this.
All you need to do is remove permissions to view those applications from appropriate role(s) in Control Panel.
E.g. permission
Control Panel: Site -> Web Content -> Access in Control Panel
will either show or hide the application in Control Panel left pane.
I managed to hide everything other than My Profile in the left pane in this way.
All you need to do is remove permissions to view those applications from appropriate role(s) in Control Panel.
E.g. permission
Control Panel: Site -> Web Content -> Access in Control Panel
will either show or hide the application in Control Panel left pane.
I managed to hide everything other than My Profile in the left pane in this way.
Kevin Emamirad,修改在10 年前。
RE: How to remove left menu in control panel fo Users?
New Member 帖子: 12 加入日期: 13-9-4 最近的帖子
I want to do the same thing, but there is no place such as:
Control Panel: Site -> Web Content -> Access in Control Panel
Where is "Access in Control" from Web Content?
PS: I use Liferay 6.1.20 EE
Control Panel: Site -> Web Content -> Access in Control Panel
Where is "Access in Control" from Web Content?
PS: I use Liferay 6.1.20 EE