在/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
本文介绍如何在/portal-master/portal-impl/src/portal.properties文件中修改layout.show.portlet.access.denied参数,将其从true改为false,以阻止用户看到他们没有访问权限的portlet。这一设置可以在portlet初始化参数'show-portlet-access-denied'未覆盖的情况下生效。

被折叠的 条评论
为什么被折叠?



