How to restrict "add item" menu through a Product

Enrique Perez eperez at yaco.es
Wed Dec 5 12:32:11 UTC 2007


Mark Phillips escribió:
> How do I restrict what different roles can see in the "add item" menu in
> their folder? Can you point me to some examples? 
> 
> Thanks!
> 
> Mark

I think you do it through the add permission of the content type. You 
can see an example in the CMFTopic product (included with Plone), the 
AddTopics permission is defined in the permissions module, you can grep 
for its usage in the rest of the product.

-- 
Enrique Pérez Arnaud
Yaco Sistemas S.L.





More information about the Product-Developers mailing list