[MGNLDEMO-217] Rest access to primary content for Superuser and anonymous users Created: 12/Jun/17  Updated: 24/Oct/17

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

Type: Task Priority: Neutral
Reporter: Christopher Zimmermann Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

To assist evaluators, particularly those interested in headless and frontend frameworks, - and to make it possible to create demos of headless usage that rely on the travel-demo, it should be possible to retrieve the primary content via the default REST endpoints without any additional configurtion.

For example - the samples on this page should work OOTB.
https://documentation.magnolia-cms.com/display/DOCS/How+to+get+content+as+JSON+-+an+overview
curl -H "Accept: application/json" http://localhost:8080/magnoliaAuthor/.rest/nodes/v1/tours/magnolia-travels/Kyoto

Workspaces they should have read-only access to:

  • dam
  • website
  • tours
  • categories
  • stories

To determine - best way to configure the security. Maybe create a new ROLE, travel-demo-rest?



 Comments   
Comment by Christopher Zimmermann [ 24/Oct/17 ]

Concept needs more evaluation, especially in light of the new rest roles coming with REST 2.0

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