[Zope-CMF] Workflow issue? - or how to customize
Antonio Orlando
aorlando2002@yahoo.com.br
Mon, 06 May 2002 09:35:58 -0400
sorry, but when I change the "view" permition (for instance portal_types
- "document" - so "they" coundn't see the Document item) I got a
unauthorized permission. I would like to hide them, not forbid.
am I doing something wrong? any help?
anTONIo
Tres Seaver wrote:
> On Fri, 2002-05-03 at 08:40, Antonio Orlando wrote:
>
>
>>I would like that the users of my site could add *only* "news items".
>>How can I customize that? Where is it loaded at folder_factories?
>>
>
> The stock 'folder_factories' method queries the types tool for a list
> of types the user is permitted to add within the current container;
> what you want is to remove the permission for "normal" members to add
> any type other than NewsItem. Visit the security tab of each type
> object (under 'portal_types') and remove the "View" permission from
> the roles your users have for those types you don't want them to add.
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com