[uicfg] clean dead code, fix indexview_etype_section for ExternalUri and Bookmark
--- a/web/uicfg.py Tue Jan 26 10:27:52 2010 +0100
+++ b/web/uicfg.py Tue Jan 26 10:28:30 2010 +0100
@@ -205,25 +205,16 @@
else:
self.setdefault(eschema, 'application')
-indexview_etype_section = {'EmailAddress': 'subobject',
- 'CWUser': 'system',
- 'CWGroup': 'system',
- 'CWPermission': 'system',
- 'CWCache': 'system',
- 'Workflow': 'system',
- 'State': 'hidden',
- 'BaseTransition': 'hidden',
- 'Transition': 'hidden',
- 'WorkflowTransition': 'hidden',
- }
-
-indexview_etype_section = InitializableDict(EmailAddress='subobject',
- CWUser='system',
- CWGroup='system',
- CWPermission='system',
- CWCache='system',
- Workflow='system',
- )
+indexview_etype_section = InitializableDict(
+ EmailAddress='subobject',
+ # entity types in the 'system' table by default (managers only)
+ CWUser='system', CWGroup='system',
+ CWPermission='system',
+ CWCache='system',
+ Workflow='system',
+ ExternalUri='system',
+ Bookmark='system',
+ )
# autoform.AutomaticEntityForm configuration ##################################