[MGNLUI-6983] content app, show revision action allowing to edit properties. Created: 13/Dec/21  Updated: 13/Dec/21

Status: Open
Project: Magnolia UI
Component/s: content app
Affects Version/s: 6.2.12
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Pankaj Sharma Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 10 10.0 (amd64)


Attachments: PNG File mgnl-6.1.png     PNG File mgnl-6.2.png    
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

 Description   

Steps to reproduce

We are using show version action(revision) in one of our content app, having below action details in yaml config. So it's working fine, only issue is it's allowing to edit/save property as well in show version dialog. In earlier version of magnolia 6.1 we can see it's not allowing to edit properties but in 6.2 it's allowing to edit from show version dialog.

showVersions:
        icon: icon-show-versions
        class: info.magnolia.ui.contentapp.browser.action.ShowVersionsActionDefinition
        subAppName: detail
        availability:
          rules:
            - name: &HasVersionsRule
              $type: jcrHasVersionsRule
          access:
            roles:              
              superuser: superuser

see this screenshot in 6.2 where it's allowing to edit.

 

Expected results

it shouldn't be allow to edit properties from show version dialog. see attached screenshot of version 6.1 where it's working fine.

Actual results

Workaround

Development notes


Generated at Mon Feb 12 09:41:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.