Uploaded image for project: 'Jetspeed (Retired)'
  1. Jetspeed (Retired)
  2. JS1-457

[ENH] Control whether the portlet and decorator is viewed

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5-dev / CVS
    • 1.5
    • Layout
    • None

    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.

      Attachments

        Activity

          People

            taylor David Sean Taylor
            morciuch@apache.org Mark Orciuch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: