Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-894

Fix availability rules for publishing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • 3.0.3
    • DAM App
    • None

      Reproduce:

      • Open the dam app
      • Create a folder
      • Add an asset to the folder
      • Observe the actionbar publishing section.

      Expected:
      Publishing actions should be disabled.

      Actual:
      Publishing actions are available.

      Notes:
      See the behavior in the pages-app. The dam should work exactly like that. If the node has not been published (red) then unpublished should not be available.
      From: /pages-app/apps/pages-app.yaml

            publish: &publish
              icon: icon-publish
              $type: jcrCommandAction
              command: publish
              catalog: versioned
              availability:
                rules:
                  notDeleted: *notDeleted
                  isPublishable: &isPublishable
                    $type: jcrPublishableRule
      

        Acceptance criteria

              Unassigned Unassigned
              rgange Richard Gange
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD