collective / collective.sidebar

A sidebar for Plone to consolidate toolbar and navigation
GNU General Public License v2.0
6 stars 4 forks source link

Navigation Incorrectly Rendered on Page-Not-Found Error #31

Closed Netroxen closed 4 years ago

Netroxen commented 5 years ago

Summary

in the sidebar static links section for authenticated users who visit a non-existent path, the login link is displayed and the navigation links are not visible

Environment

Steps to reproduce

Visit a page that does not exist, enter any URL path to test this.

Expected result

The navigation should not display the "Login" link when the user is already authenticated

Current result

Currently the navigation does not respect if the user is logged in and does not display any links when a page / path that does not exist is navigated to.

Technical Notes

Diese Sektion ist für technische Hinweise gedacht, falls der Ticketersteller bereits eine Ahnung hat, in welcher Komponente/Klasse der Software sich der Fehler befindet oder wie dieser behoben werden kann.

Screenshots

snap_2018_12_05 snap_2018_12_05_1

santonelli commented 4 years ago

This is Plone's default behavior and has to do with some security related issues (as far as i remember).