[Zope] undeletable objects

Michel Pelletier michel@digicool.com
Thu, 17 Jun 1999 15:30:18 -0400


> -----Original Message-----
> From: Thilo Mezger [mailto:thilo@eevolute.com]
> Sent: Thursday, June 17, 1999 3:12 PM
> To: zope@zope.org
> Subject: [Zope] undeletable objects
> 
> 
> hi!
> 
> when i read about an undeletable top-level "acl_users" in a 
> recent post a
> question came to my mind again:
> 
> why isn't it possible to delete the top-level dtml-methods
> standard_error_message, standard_html_footer and 
> standard_html_header in
> zope 1.10?
> 
> i get the message "standard_html_header cannot be deleted" ...
> 

Zope is generaly displeased when you try to delete these top level
objects.  The protection against deleting them is hardwired into Zope.
This is unlikely to change.

The top level user folder however, can be deleted (in 2.0 and the latest
CVS).  This can be a Bad Thing (tm) if you don't have access to the
superuser password, because due to Acquisition and the design of the
authentication system, the entire site is locked out!  Only the
superuser, at that point, can get in to add a new user folder at the top
level (and thus return the system to normality).

-Michel

> 
> thilo
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (For developer-specific issues, use the companion list,
> zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
>