--- a/entities/wfobjs.py Fri Aug 21 09:02:35 2009 +0200
+++ b/entities/wfobjs.py Fri Aug 21 09:03:30 2009 +0200
@@ -120,9 +120,12 @@
provides a specific may_be_fired method to check if the relation may be
fired by the logged user
"""
- id = 'Transition'
+ id = 'BaseTransition'
fetch_attrs, fetch_order = fetch_config(['name'])
+ def __init__(self, *args, **kwargs):
+ raise Exception('should not be instantiated')
+
def may_be_fired(self, eid):
"""return true if the logged user may fire this transition
--- a/web/uicfg.py Fri Aug 21 09:02:35 2009 +0200
+++ b/web/uicfg.py Fri Aug 21 09:03:30 2009 +0200
@@ -149,12 +149,14 @@
# * 'application'
# * 'system'
# * 'schema'
+# * 'hidden'
# * 'subobject' (not displayed by default)
indexview_etype_section = {'EmailAddress': 'subobject',
'CWUser': 'system',
'CWGroup': 'system',
'CWPermission': 'system',
+ 'BaseTransition': 'hidden',
}