Hey,
I’m not sure if anybody has got Login to work yet... I know I haven’t.
I have a page called "New uploads" (id 11) which I only want to have visible for people that are logged in. If they’re not logged in, common sense should lead them to the "Not authorized" page which features a login form (With return to referrer turned on).
So far, I’ve set up my user groups/security thingies as follows:
Resource group: "Members only" (made using Create Resource group)
Access Controls -> User group: "Webusers" (made using "New User Group")
- Context access: context: "web" / Minimum role "Member - 15" / Access policy: "Member policy"
- Resource group: "Members only" / Minimum role "Member - 15" / Access Policy: "Member Policy" / Context: web
- Element Category Access: none
Access Controls -> Roles
- "Administrator" / ID 2 / Authority 0
- "Member" / ID 3 / Authority 15
- "Read only" / ID 1 / Authority 1
Access Controls -> Access Policies
- Member Policy / ID 5 / Permissions: none (what to do here?)
(amongst 4 others)
The resource is publicly viewable when on the "Access Permissions" tab nothing is selected (the only option is "Members only").
When I tick it and try to access the page, I’m being referred to the 404 page instead of the 403 (not authorized) page. When I login using a basic [[!Login]] snippet, it makes no difference.
I did check the access for the account I used, and that seemed to be alright.
Altho I’m going to do some more checks now - if there’s any help or pointers feel free to let me know