Hi all MODX fans !
Am developing a new personal site w/ MODX 2.7.3 on an Apache server.
I have first configured Members page only as explained below : https://docs.modx.com/current/en/building-sites/client-proofing/security/security-tutorials/making-member-only-pages
i.e. with resource groups/ACL
Caveat being unauthorized users get sent to the error 404 page instead of the unauthorized or login page
I then used Bob’s guide advice per : https://bobsguides.com/blog.html/2013/05/22/protecting-pages-the-easy-way/
Issue : if i use the snippet only, private pages show up in my menu done with Wayfinder
if i use both PrivatePage snippet + resource groups, anonymous users are still sent to the error page first
despite the redirection included into the snippet.
Believe the snippet, despite positoned first on the top of the template must be executed afterwards ?
Any idea or just hint to deal with this issue ?
Many thanks for your help