I have some documents on my site that I only want logged in users to have access to. I created a resource group called Private and added the documents to it. I made sure anonymous did not have the resource group active. For a long I thought it wasn’t working for some reason but I finally discovered that it actually was working but the pages were showing up in the Wayfinder nav anyway. I’ve been searching but I haven’t found a way to do that. What I’ve found leads me to believe I might be able to accomplish this with some kind of if statement that MODx appears to have. It looks like [[?if ... I think. I haven’t found enough information to make it work yet though. If anyone knows or knows where I can look to find out I’d appreciate the input. Thanks!
-
MODX Staff
- 10,725 Posts
Make sure you care calling Wayfinder uncached so the first access to the page doesn’t cache the Resources for everyone, regardless of access permissions.