diff -r e95cfd5eca61 -r 40a49f4350a5 web/views/autoform.py --- a/web/views/autoform.py Tue Sep 13 14:54:00 2011 +0200 +++ b/web/views/autoform.py Tue Sep 13 15:40:06 2011 +0200 @@ -920,6 +920,7 @@ 'owned_by', 'created_by', 'cw_source'): _AFS.tag_subject_of(('*', rtype, '*'), 'main', 'metadata') +_AFS.tag_subject_of(('*', 'require_permission', '*'), 'main', 'hidden') _AFS.tag_subject_of(('*', 'by_transition', '*'), 'main', 'attributes') _AFS.tag_subject_of(('*', 'by_transition', '*'), 'muledit', 'attributes') _AFS.tag_object_of(('*', 'by_transition', '*'), 'main', 'hidden') @@ -928,6 +929,8 @@ _AFS.tag_subject_of(('*', 'wf_info_for', '*'), 'main', 'attributes') _AFS.tag_subject_of(('*', 'wf_info_for', '*'), 'muledit', 'attributes') _AFS.tag_object_of(('*', 'wf_info_for', '*'), 'main', 'hidden') +_AFS.tag_subject_of(('CWPermission', 'require_group', '*'), 'main', 'attributes') +_AFS.tag_subject_of(('CWPermission', 'require_group', '*'), 'muledit', 'attributes') _AFS.tag_attribute(('CWEType', 'final'), 'main', 'hidden') _AFS.tag_attribute(('CWRType', 'final'), 'main', 'hidden') _AFS.tag_attribute(('CWUser', 'firstname'), 'main', 'attributes')