I’ve been searching and trying but I just can’t seem to figure out what I’m doing wrong....
I’m trying to have two ’admin’ logins: siteadmin & sitemanager.
I’ve created:
- Two User Groups: Admin / Manager
- Two Roles: Admini / Manager
- Two Policies: Admin / Manager, where manager has way less rights (if needed I’ll post the rights-list here)
- User Group: Admin --> Resource Group Access: group=Admin, minimum_role=Admin-0, access_policy=Admin, context=mgr
- User Group: Manager --> Resource Group Access: group=Manager, minimum_role=Manager-10, access_policy=Manager, context=mgr
When I set a certain resource only to be editable by Admin, it works like a charm: a Manager user doesn’t see these pages in the doctree.
What just wont work, is when I try to allow access to a template variable to Admin only --> A Manager user is still able to see all the template variables when editing a resource. What am I missing, what am I doing wrong?
I hope someone can point me in the right direction....