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

Fix availability rules for publishing

    XMLWordPrintable

Details

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

    Description

      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
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD