I have hidden liferay edit control by using way like....

$theme.include($body_top_include) 

#if ($permissionChecker.isOmniadmin())

#dockbar()
#end

it will hide doc bar for all users except Admin.

But I am unable to hide portlet controls icons like plus,minus, close portlet icon. As we know these icons will not displayed if we uncheck value of edit control checkbox.

Liferay might be storing that edit conrol checkbox value on/off in their session.

So how can we uncheck that value by default for all users?

In short I want set value of edit control checkbox by default false for users .

有帮助吗?

解决方案

Remove the custom- and update-permissions for this page for "User", "Power User" and "Site Member" role.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top