首页 > 其他 > 详细

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

时间:2016-08-19 19:14:11      阅读:224      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!