-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
When querying a menu as an authenticated CMS user with the 'preview' flag enabled, only the currently public menu is returned, not the 'draft' state of the menu.
Reproduction
- Create a menu with all nodes published
- Change a menu title via settings in page tree (create a new draft)
Setup
- djangocms-rest@latest (0.8.1)
- djangcms 5.0.3
Result
JSON response from the API does not reflect changes.
Expected Result
JSON reflects changes. The title for the node has changed.
curl -X 'GET' \
'http://localhost:8080/api/cms/de/menu/1/3/999/999/?preview=false' \ #?preview=true
-H 'accept: application/json'