Jetspeed 2
  1. Jetspeed 2
  2. JS2-823

NoAction Layouts under desktop pipeline behave different from portal pipeline

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.3
    • Fix Version/s: 2.1.3
    • Component/s: Desktop
    • Labels:
      None

      Description

      NoAction Layouts under desktop pipeline behave different from portal pipeline
      The desktop allows you to still get into edit mode and change things, where as the portal locks it down but not based on security
      The advantages and disadvantages to both
      I do want to note that you can secure the page, and only allow certain users access to the actions
      Whereas the portal solution requires you to edit PSML to change the decorator, the /desktop solution allows administrators a way out without editing PSML directly
      Marking this as minor priority

        Activity

        Hide
        Steve Milek added a comment -

        The solution for this issue is to configure the desktop page editor NoAction layout settings. Here are some details:

        This issue is probably caused by the logged-in user having privileges to edit no-action layouts. The layout decorator decoratordesktop.properties file specifies configuration for the desktop page editor (customizer). Currently, the tigris layout decorator sets these properties as follows:

        #

        1. desktop page editor options
        2. many of these options have a directly equivalent property for portal customizer
          #
          desktop.pageeditor.movemode.isdefault=true

        desktop.pageeditor.page.layout.decorator.editable=true
        desktop.pageeditor.page.portlet.decorator.editable=true
        desktop.pageeditor.page.add.enabled=true
        desktop.pageeditor.page.layout.depth.max=3

        desktop.pageeditor.portlet.add.enabled=true
        desktop.pageeditor.portlet.decorator.editable=true

        desktop.pageeditor.layout.name.editable=true
        desktop.pageeditor.layout.columnsize.editable=true

        desktop.pageeditor.layout.noactions.editable=false

        1. if layout.noactions.editable=true, the below layout.noactions.* properties are ignored
        2. and also, in page editor noaction layouts are fully editable
        3. (i.e. the noaction editing restrictions are enforced
        4. only in regular page view, not in page editor)
          desktop.pageeditor.layout.noactions.toplevel.moveable=false
          desktop.pageeditor.layout.noactions.columnsize.editable=true
          desktop.pageeditor.layout.noactions.editor.role=admin

        The above setting for "desktop.pageeditor.layout.noactions.editor.role" specifies that any user with the "admin" role can fully edit a no-action layout. If no role should be able to edit no-action layouts, either omit the "...noactions.editor.role" property or set it to empty string.

        Show
        Steve Milek added a comment - The solution for this issue is to configure the desktop page editor NoAction layout settings. Here are some details: This issue is probably caused by the logged-in user having privileges to edit no-action layouts. The layout decorator decoratordesktop.properties file specifies configuration for the desktop page editor (customizer). Currently, the tigris layout decorator sets these properties as follows: # desktop page editor options many of these options have a directly equivalent property for portal customizer # desktop.pageeditor.movemode.isdefault=true desktop.pageeditor.page.layout.decorator.editable=true desktop.pageeditor.page.portlet.decorator.editable=true desktop.pageeditor.page.add.enabled=true desktop.pageeditor.page.layout.depth.max=3 desktop.pageeditor.portlet.add.enabled=true desktop.pageeditor.portlet.decorator.editable=true desktop.pageeditor.layout.name.editable=true desktop.pageeditor.layout.columnsize.editable=true desktop.pageeditor.layout.noactions.editable=false if layout.noactions.editable=true, the below layout.noactions.* properties are ignored and also, in page editor noaction layouts are fully editable (i.e. the noaction editing restrictions are enforced only in regular page view, not in page editor) desktop.pageeditor.layout.noactions.toplevel.moveable=false desktop.pageeditor.layout.noactions.columnsize.editable=true desktop.pageeditor.layout.noactions.editor.role=admin The above setting for "desktop.pageeditor.layout.noactions.editor.role" specifies that any user with the "admin" role can fully edit a no-action layout. If no role should be able to edit no-action layouts, either omit the "...noactions.editor.role" property or set it to empty string.

          People

          • Assignee:
            Steve Milek
            Reporter:
            David Sean Taylor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development