Description
Enhancement to NOT display the control decorator in view mode if the
current security context does not allow access to the portlet. I will next make this check optional for backward compatibility.
New option for JR.p: The portlet control can be either shown or hidden when a portlet does not have view access. Defaults to true, the decorator is now hidden: defaultportletcontrol.hide.decorator = true
This required a new method on the Portlet interface, getAllowView(RunData). This new method better fills out the obsoleting api; for some reason 'view' was missing from the interface where as 'edit' and 'info' were there. Perhaps a more general solution would mirror the Portlet API and make the modes and states parameterized.