Message Boards

Disable Control Panel for user

krystian siedlarski, modified 3 Years ago.

Disable Control Panel for user

New Member Post: 1 Join Date: 8/26/20 Recent Posts
Hello everyone,Can I somehow disable a control panel for normal user that they cannot even see the icon for control panel??
thumbnail
Mohammed Yasin, modified 3 Years ago.

RE: Disable Control Panel for user

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
Hi,
You can try controlling the display of control menu through theme in portletnormal.ftl file, refer  
<#if condition>
    <@liferay.control_menu />
<!--#if-->
thumbnail
Olaf Kock, modified 3 Years ago.

RE: Disable Control Panel for user

Liferay Legend Posts: 6396 Join Date: 9/23/08 Recent Posts
krystian siedlarski:

Hello everyone,Can I somehow disable a control panel for normal user that they cannot even see the icon for control panel??
Mohammed gave you one hint (small typo, but the link is correct: portal_normal.ftl is the file)
Another one is: If a user doesn't have permission on anything in there, the panel won't show up. And the different versions of Liferay cater for this condition as well, moving the personal area out of the ProductMenu. Assuming you're on 7.2, all of the user specific stuff isn't in there, so it should be easy to limit permissions to what people actually need.