remove useless rtag (correct default)
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 25 Sep 2009 11:55:39 +0200
changeset 3481 d614369df4b3
parent 3480 370d20fec445
child 3482 9a868f462fa4
remove useless rtag (correct default)
web/views/actions.py
web/views/autoform.py
--- a/web/views/actions.py	Fri Sep 25 11:54:49 2009 +0200
+++ b/web/views/actions.py	Fri Sep 25 11:55:39 2009 +0200
@@ -370,14 +370,6 @@
 ## default actions ui configuration ###########################################
 
 addmenu = uicfg.actionbox_appearsin_addmenu
-addmenu.tag_subject_of(('*', 'is', '*'), False)
-addmenu.tag_object_of(('*', 'is', '*'), False)
-addmenu.tag_subject_of(('*', 'is_instance_of', '*'), False)
-addmenu.tag_object_of(('*', 'is_instance_of', '*'), False)
-addmenu.tag_subject_of(('*', 'identity', '*'), False)
-addmenu.tag_object_of(('*', 'identity', '*'), False)
-addmenu.tag_subject_of(('*', 'owned_by', '*'), False)
-addmenu.tag_subject_of(('*', 'created_by', '*'), False)
 addmenu.tag_subject_of(('*', 'require_permission', '*'), False)
 addmenu.tag_subject_of(('*', 'wf_info_for', '*'), False)
 addmenu.tag_object_of(('*', 'wf_info_for', '*'), False)
@@ -387,8 +379,6 @@
 addmenu.tag_object_of(('*', 'from_entity', 'CWEType'), False)
 addmenu.tag_object_of(('*', 'to_entity', 'CWEType'), False)
 addmenu.tag_object_of(('*', 'in_group', 'CWGroup'), True)
-addmenu.tag_object_of(('*', 'owned_by', 'CWUser'), False)
-addmenu.tag_object_of(('*', 'created_by', 'CWUser'), False)
 addmenu.tag_object_of(('*', 'bookmarked_by', 'CWUser'), True)
 addmenu.tag_subject_of(('Transition', 'destination_state', '*'), True)
 addmenu.tag_object_of(('*', 'allowed_transition', 'Transition'), True)
--- a/web/views/autoform.py	Fri Sep 25 11:54:49 2009 +0200
+++ b/web/views/autoform.py	Fri Sep 25 11:55:39 2009 +0200
@@ -320,16 +320,9 @@
 uicfg.autoform_section.tag_attribute(('*', 'creation_date'), 'metadata')
 uicfg.autoform_section.tag_attribute(('*', 'modification_date'), 'metadata')
 uicfg.autoform_section.tag_attribute(('*', 'cwuri'), 'metadata')
-uicfg.autoform_section.tag_attribute(('*', 'has_text'), 'generated')
 uicfg.autoform_section.tag_subject_of(('*', 'in_state', '*'), 'primary')
 uicfg.autoform_section.tag_subject_of(('*', 'owned_by', '*'), 'metadata')
 uicfg.autoform_section.tag_subject_of(('*', 'created_by', '*'), 'metadata')
-uicfg.autoform_section.tag_subject_of(('*', 'is', '*'), 'generated')
-uicfg.autoform_section.tag_object_of(('*', 'is', '*'), 'generated')
-uicfg.autoform_section.tag_subject_of(('*', 'is_instance_of', '*'), 'generated')
-uicfg.autoform_section.tag_object_of(('*', 'is_instance_of', '*'), 'generated')
-uicfg.autoform_section.tag_subject_of(('*', 'identity', '*'), 'generated')
-uicfg.autoform_section.tag_object_of(('*', 'identity', '*'), 'generated')
 uicfg.autoform_section.tag_subject_of(('*', 'require_permission', '*'), 'generated')
 uicfg.autoform_section.tag_subject_of(('*', 'by_transition', '*'), 'primary')
 uicfg.autoform_section.tag_object_of(('*', 'by_transition', '*'), 'generated')
@@ -346,8 +339,6 @@
 uicfg.autoform_section.tag_attribute(('CWUser', 'surname'), 'secondary')
 uicfg.autoform_section.tag_attribute(('CWUser', 'last_login_time'), 'metadata')
 uicfg.autoform_section.tag_subject_of(('CWUser', 'in_group', '*'), 'primary')
-uicfg.autoform_section.tag_object_of(('*', 'owned_by', 'CWUser'), 'generated')
-uicfg.autoform_section.tag_object_of(('*', 'created_by', 'CWUser'), 'generated')
 uicfg.autoform_section.tag_object_of(('*', 'bookmarked_by', 'CWUser'), 'metadata')
 uicfg.autoform_section.tag_attribute(('Bookmark', 'path'), 'primary')
 uicfg.autoform_section.tag_subject_of(('*', 'primary_email', '*'), 'generic')