# HG changeset patch # User Sylvain Thénault # Date 1253872539 -7200 # Node ID d614369df4b35ceea63e56053dda2e1febf7b1cd # Parent 370d20fec445fea3f2ee5658dd9b7a85a7bdc71c remove useless rtag (correct default) diff -r 370d20fec445 -r d614369df4b3 web/views/actions.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) diff -r 370d20fec445 -r d614369df4b3 web/views/autoform.py --- 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')