Heya,
I finally managed to set up my member pages to only show up for the members. However, now I want to change the behaviour of returning a 404 error instead of not authorized if users are not logged in.
(So it should return the not authorized page)
Bob’s post (
http://bobsguides.com/revolution-permissions.html) got me on the right track for the member-only pages, however I’m still stuck with returning "not authorized"...
Bob says:
Unauthorized Versus Error Page
This is a change from MODx Evolution. In Revolution, if a web page is protected in the front end so that only logged-in users can see it, the default behavior is for anonymous users to be redirected to the Error (page not found) page rather than the Unauthorized page when they try to access the resource. In Revolution, if Users don’t have the "load" permission for a resource, it’s as if it doesn’t exist — thus the "page not found" response. If you would like them to be sent to the Unauthorized page instead, you can do the following:
* Create a new Access Policy called "Load" and add a single Permission: Load.
* Create a new Context Access ACL entry for the anonymous User Group with a Context of "web," a Role of "member" and an Access Policy of "Load."
There already was a "load only" ACL, so I’ve tried using that instead of making a new one.
In the attachment you will find a screenshot of how I set up the context access ACL.
I’ve tried clearing site cache and flushing permissions after changing things, but so far I couldn’t get it working yet.
Any help greatly appreciated!