U just need an ACL and an secound Usergroup
1st Edit the Administator Usergroup, and go to Context-Access. Give this Admin Group Administrator Access for the Superuser Role. for Both Contextes.
Now Edit your 2nd Usergroup, which shouldn`t see this 2 contextes. Add only the "web" context with maybe Resource Access for the "Member" Role.
Finally Reset all Sessions and login again, your not Administrator User should now only see the live Context and the other one is "hidden". In the same way you can add Usergroups for the other ones.
But you never should restrict the Administrator Usergroup the Access, otherwise its not that easy to handle gaining access again.
ACL makes it only for specific user, i need to filter the nodes for administrator and it needs to be dynamic...
Sumoborac
-
☆ A M B ☆
- 183 Posts
create second administrator group (adminweb for example) using ACL. Give it access to mgr and web only.
zaenal.lokamaya
If any Context is connected to a User Group with a Context Access ACL entry, its resources are hidden from *everyone* outside that User Group (unless their User Group has a similar Context Access ACL entry for the Context).
discuss.answer
I want to do it dynamicly with a click of a button... Since there isnt a direct option maybe i'll dig in the ACL to see if i can set correct ACL entery "on-the-fly" while page is being loaded... Any suggestions?
Sumoborac