[MGNLUI-7051] Publish actions should not be available on public instances Created: 12/Aug/15  Updated: 01/Dec/22

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

Type: Bug Priority: Neutral
Reporter: Daniel Lipp Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: VN-Analysis, nucleus
Remaining Estimate: Not Specified
Time Spent: 1d 0.5h
Original Estimate: Not Specified

Attachments: PNG File Screen Shot 2015-08-12 at 09.05.30.png     PNG File image-2022-03-03-10-40-10-606.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
Date of First Response:
Epic Link: Maintenance of vaadin8 framework
Story Points: 2
Team: Nucleus

 Description   

I just stumbled over the publish action in the new (5.4) resources app (see screenshot). I think this can be very confusing to users. Especially as it's actually active and clicking it will actually result in a message that publication was successful!

When double checking I found that action is also available in pages app on publics (even worse) so I'd recommend to actually check all actions for all apps and decide which of those make sense on public instances...



 Comments   
Comment by Quach Hao Thien [ 03/Mar/22 ]

Discovery completed

Steps to reproduce:

  1. Access https://demopublic.magnolia-cms.com/.magnolia/admincentral#app:pages-app:browser;/travel::, or select any row on Pages app's grid
  2. Observe the Publish actions on action bar

Expected result

All publishing actions should be disabled on Public instance

Actual result

 

Development note

Check whether current instance is author (isAdmin) to enable the action: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/commits/47d7a4a61d885c71364888c1e32147efb64a5bca#magnolia-ui-framework-jcr/src/main/java/info/magnolia/ui/availability/rule/JcrPublishableRule.java 

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