[MGNLDAM-894] Fix availability rules for publishing Created: 07/Oct/20  Updated: 12/Nov/21  Resolved: 12/Nov/21

Status: Closed
Project: Magnolia DAM Module
Component/s: DAM App
Affects Version/s: 3.0.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Richard Gange Assignee: Unassigned
Resolution: Duplicate Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File example.png    
Issue Links:
relation
is related to EEPUBLISH-31 Unpublished parent reports node locked Closed
is related to PUBLISHING-91 Unpublished parent reports node locked Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: Migrate Assets

 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


 Comments   
Comment by Nguyen Phung Chi [ 12/Nov/21 ]

Close as duplicated issue with https://jira.magnolia-cms.com/browse/MGNLDAM-948

cc. rgange 

Generated at Mon Feb 12 05:04:20 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.