[Zope-PTK] how to get rid of the 'View' action on the portal

Shane Hathaway shane@digicool.com
Fri, 02 Mar 2001 09:53:25 -0500


Lucas Hofman wrote:
> 
> I have trouble finding when in the source the Anonymous user get the
> 'View' option on the portal itself. Can anybody help me here?
> 
> (Obviously anonymous must have View permission on the root directory of
> the portal, but I do not want a menu option in the top bar which does
> not make sense.
> )

It is a "folder" action.  In the current sources, you can turn it off by
removing the "View" action from the folder type object inside
portal_types.

Shane