diff -r 58e7c56206cd -r b80bf089d5f7 app/soc/logic/models/document.py --- a/app/soc/logic/models/document.py Mon Mar 02 19:48:20 2009 +0000 +++ b/app/soc/logic/models/document.py Mon Mar 02 20:32:59 2009 +0000 @@ -61,6 +61,12 @@ return ['prefix', 'scope_path', 'link_id'] + def isDeletable(self, entity): + """See base.Logic.isDeletable. + """ + + return not entity.home + def _updateField(self, entity, entity_properties, name): """Special logic for role. If state changes to active we flush the sidebar. """