So far I understood is the basic way the following:
- make in the Setup a section
- assign a node (folder) to these section
- make a role with permissions / limitations - add users / user group to these role
Voila - now should the access to your sections be limited by these rule set.
My problem is, that I don't manage to generate a proper set of permissions to limit read access for a folder with a login for the defined users.
I read everything about this issue I found and my understanding is, that these permission / login system is part of eZ, but I can't use it.
Well want I'm having trouble with the code to verify someone. This is what I need to do in pseudo:
if(user is allowed to see section 8)
do nothing
else
redirect to login page if not logged in
else display access denied if logged in and no access allowed.
Is this all handled in the index.php anyway? I'm really stuck here and I can't find *any* docs on the subject. Could someone direct us please?