Restrict Access Based on Section

Restrict Access Based on Section

Sunday 10 August 2003 12:28:13 am - 3 replies

Author Message

Oliver Dissars

Monday 11 August 2003 12:43:42 am

Hi,

I had / have the same problem.

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.

If you get an hint, let me know.

Best Regards,
Oliver

Willie Seabrook

Monday 11 August 2003 7:05:19 pm

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?

Regards,
Willie

Oliver Dissars

Tuesday 12 August 2003 1:37:28 am

So far I understood should the behaviour you described handled by eZ. I'am wrong?

Regards,
Oliver

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.