[uicfg] clean dead code, fix indexview_etype_section for ExternalUri and Bookmark
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 26 Jan 2010 10:28:30 +0100
changeset 4356 8496a79aed0a
parent 4355 b50dd952cb8d
child 4357 ef8e20bfa287
[uicfg] clean dead code, fix indexview_etype_section for ExternalUri and Bookmark
web/uicfg.py
--- 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 ##################################