Liferay 6.2 改造系列之十七:当Portlet无权限时,不显示错误信息
在/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