plone / volto

React-based frontend for the Plone Content Management System
https://demo.plone.org/
MIT License
486 stars 661 forks source link

Link content type flashes the logged in page when navigating client-side #6463

Open JeffersonBledsoe opened 2 weeks ago

JeffersonBledsoe commented 2 weeks ago

Describe the bug When doing a client-side update to visit a link content type, we briefly see the "The link address is ..." page that should only be viewed by logged in users, regardless of whether we are logged in or not

To Reproduce Steps to reproduce the behavior:

  1. Create a page
  2. Create a 'Link' type and link it to that page
  3. Create another page and insert a link to the link type
  4. Logout/ open a private browsing window
  5. Visit the page with the link to the link type on it
  6. Click the link type

Expected behavior We are redirected straight to the new page

Screenshots

https://github.com/user-attachments/assets/af46cf57-15a4-4ace-8d06-88871f900710

Software (please complete the following information):