Disable Control Panel for userDisable Control Panel for userhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1198414412024-03-28T21:22:25Z2024-03-28T21:22:25ZRE: Disable Control Panel for userOlaf Kockhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1198435852020-08-26T08:48:06Z2020-08-26T08:48:06Z<div class="quote-title">krystian siedlarski:</div><blockquote><br />Hello everyone,Can I somehow disable a control panel for normal user that they cannot even see the icon for control panel??</blockquote>Mohammed gave you one hint (small typo, but the link is correct: portal_normal.ftl is the file)<br />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.Olaf Kock2020-08-26T08:48:06ZRE: Disable Control Panel for userMohammed Yasinhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1198432352020-08-26T08:40:16Z2020-08-26T08:40:16Z<html><head></head><body>Hi,<br>You can try controlling the display of control menu through theme in portletnormal.ftl file, <a href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/frontend-theme/frontend-theme-classic/src/templates/portal_normal.ftl#L22">refer </a><br><pre><code>&lt;#if condition&gt;</code></pre><pre><code>&nbsp; &nbsp; &lt;@liferay.control_menu /&gt;
</code></pre><pre><code><!--#if--></code></pre></body></html>Mohammed Yasin2020-08-26T08:40:16ZDisable Control Panel for userkrystian siedlarskihttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1198414402020-08-26T07:48:47Z2020-08-26T07:48:47Z