문제

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