example policy for restricting content

Author Message

nicholas hemley

Monday 26 November 2007 8:51:12 am

Hello,

I would like to 'lock down' certain folders to groups of users.

Please could someone post an example of the necessary steps to add a policy to a role that would achieve this.

Is it a case of applying a *general* access restriction to 'All' and granting a specific allowance by role to the node?

many thanks for any pointers

Cheerio,
Nic Hemley

nicholas hemley

Tuesday 27 November 2007 3:12:36 am

in answer to my own question, this covers it:

http://ez.no/doc/ez_publish/user_manual/3_9/daily_tasks/creating_a_protected_area

however, it is quite an unintuitive interface

For example, to assign a content node to a section i must go to:

* Setup > Sections

then *click on icon on far right* (which has NO heading and therefore no indication of what it does other than a tool-tip - trying to find this was a nightmare!)

Paul Leclercq

Tuesday 27 November 2007 8:47:45 am

This is really the simplest methods of doing it, since it is native to eZpublish.

You will simply need to identifiy the root of your restricted areas, and apply a section to them.
And then restrict the section to a usergroup for which you can apply the restrictions and policies.

If you whish to create more advanced methodes for your extensions, you can use the roles and policies tab, to restrict the access to some of your functions.
http://ez.no/doc/ez_publish/user_manual/3_9/the_administration_interface/the_user_accounts_tab/roles_and_policies

You will then be able to fetch content for a restricted content, or force your users to connect to access an area of your site.

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