You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Amna&Kiran <bo...@yahoo.com> on 2005/05/20 10:59:26 UTC
Restricting access to user/admin
>To limit access to ACauth tab, add 3 lines to
>YOUR-PUBS/config/ac/usecase-policies.xml
> <usecase id="info-ac-authoring"><role id="admin"/></usecase>
>add any role you want to allow change ACauth.
>You should have a look on UniZH Unitemplate publication, especially in
>/config/ac/, to see how it work.
>Olivier
Actually that dosen't work for the admin role.
if we do it for the "edit role" like
<usecase id="info-ac-authoring">
<role id="edit"/>
</usecase>
then it work and allows only the editors to the 'Ac Auth Tab' but in-case of
admin role, as stated above by Olivier, nobody (not even the administrator) is
allowed.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Restricting access to user/admin
Posted by Olivier Lustenberger <ol...@adm.unige.ch>.
Le 20. 05. 05 10:59, Amna&Kiran a écrit:
> Actually that dosen't work for the admin role.
> if we do it for the "edit role" like
> <usecase id="info-ac-authoring">
> <role id="edit"/>
> </usecase>
> then it work and allows only the editors to the 'Ac Auth Tab' but in-case of
> admin role, as stated above by Olivier, nobody (not even the administrator) is
> allowed.
That's right, you have to add admin autorisation in some files like
YOUR-PUBS/config/ac/policies/info/subtree-policy.acml
YOUR-PUBS/config/ac/policies/authoring/subtree-policy.acml
--
Olivier
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org