[CPS-users-fr] Rôles, conditions et actions

"Florian CULIOLI" <[email protected]>
Newsgroups gmane.comp.web.zope.cps.general.french
Message-ID <[email protected]>
Bonsoir,

Je souhaite ajouter au portlet d'actions dans mon espace de publication
l’action « modifier » (cpsdocument_edit_form) uniquement pour les valideurs
de rubrique et l’admin (peut-être les responsables...).

Mon idée était de mettre une condition sur mon action « edit » 
(portal type > Section > actions ).

J'ai conditionné comme ceci:

python:member.has_role('Manager','SectionManager','SectionReviewer'),here)

Cependant le valideur n'a toujours pas accès à l'action Modifier.

Où se situe mon erreur?
La démarche est-elle tout autre?

Merci pour votre aide.

CULIOLI Florian


This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,  distribute, or use this message or any part thereof. If you receive this  message in error, please notify the sender immediately and delete all  copies of this message.

_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.