[MGNLDEMO-373] Actions are active (not disabled) without write permissions in App Created: 22/Jun/21  Updated: 22/Jun/21

Status: Open
Project: Magnolia Demo Projects
Component/s: None
Affects Version/s: 1.5.4
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Daniel Schneeberger Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2021-06-22-10-56-33-418.png     PNG File image-2021-06-22-11-03-28-214.png    
Issue Links:
supersession
is superseded by MGNLDEMO-363 Update Travel Demo dialogs and apps t... 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:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:

 Description   

Steps to reproduce

  1.  Go to https://demo.magnolia-cms.com/.magnolia/admincentral#app:security:roles;/travel-demo-tour-editor:treeview:
  2.  Change permission of 'Tours' workspace to "Read-only"
  3. Log out and log in as "eric"
  4. Open Tours App
  5. Select any Tour
  6. Notice "edit style actions" are all enabled (which is wrong)
  7. Try to delete it

Expected results

Delete action (and others) are disabled as delete permission are missing (no access denied error message)

Actual results

Actions are enabled. Errors when trying to use them.

Workaround

Development notes

In our Project, we have our own custom app (not Tours app). The delete action has writePermissionRequired set to true but this bug still occurs.



 Comments   
Comment by Roman Kovařík [ 22/Jun/21 ]

Hello Daniel,

 

the tours app has been migrated to new framework,

https://nightly.magnolia-cms.com/.magnolia/admincentral#app:tours

Looks like the availability is updated as well. 

https://nightly.magnolia-cms.com/.magnolia/admincentral#app:definitions-app:overview;apps~tours~subApps~browser~actions~confirmDeletion~availability~writePermissionRequired::

 

Regards

Roman

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