@ Override @ RequestCache public boolean canPrincipalRender ( IAuthorizationPrincipal principal , String portletDefinitionId ) throws AuthorizationException { // This code simply assumes that anyone who can subscribe to a channel // should be able to render it. In the future, we'd like to update this // implementation to use a separate permission for rendering. return canPrincipalSubscribe ( principal , portletDefinitionId ) ; }
Answers if the principal has permission to RENDER this Channel . This implementation currently delegates to the SUBSCRIBE permission .