Emmanouil Batsis wrote:
Doug,

Many thanks for your answer.

On Friday 02 September 2005 19:00, Doug Chestnut wrote:

if document /departments/hr needs to have editors that are able to edit
only the document hr and subdocuments:
make a new group hrEditor


Ok


add visit role to hrEditor group for the root of the publication

Ok, this one isn't very user friendly ;) but, edit the policy [pubname]/config/ac/policies/authoring/subtree-policy.acml like so:

<policy xmlns="http://apache.org/cocoon/lenya/ac/1.0";>

  <group id="editor">
    <role id="edit"/>
  </group>

  <group id="hrEditor">
    <role id="visit"/>
  </group>

  <group id="reviewer">
    <role id="review"/>
  </group>

</policy>

Seems like there needs to be a way to do this in the site gui. Also, if this wasn't just a simple example, I would make two new groups, hrEditor and visitor, and give visitor the visit role on the authoring root of the pub.



Where do i get these roles? I only see groups and those only have name/description. Essentially, groups in lenya are roles from what i see.

next, select your hr document under the "site" tab,
click on "AC Auth",
select your hrEditor group,
select the role of edit,
click add

HTH
--Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to