码迷,mamicode.com
首页 > 其他好文 > 详细

Liferay 6.2 改造系列之十七:当Portlet无权限时,不显示错误信息

时间:2016-08-19 19:16:55      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:

在/portal-master/portal-impl/src/portal.properties文件中,有如下配置:

#
# Set this to true if users are shown that they do not have access to a
# portlet. The portlet init parameter "show-portlet-access-denied" will
# override this setting.
#
layout.show.portlet.access.denied=true

修改为:

#
# Set this to true if users are shown that they do not have access to a
# portlet. The portlet init parameter "show-portlet-access-denied" will
# override this setting.
#
layout.show.portlet.access.denied=false

  

Liferay 6.2 改造系列之十七:当Portlet无权限时,不显示错误信息

标签:

原文地址:http://www.cnblogs.com/luoruiyuan/p/5788598.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!