web/views/actions.py
changeset 3481 d614369df4b3
parent 3476 6e927b729ae1
child 3484 52e6c8d62ac6
equal deleted inserted replaced
3480:370d20fec445 3481:d614369df4b3
   368 FollowAction = class_moved(FollowAction)
   368 FollowAction = class_moved(FollowAction)
   369 
   369 
   370 ## default actions ui configuration ###########################################
   370 ## default actions ui configuration ###########################################
   371 
   371 
   372 addmenu = uicfg.actionbox_appearsin_addmenu
   372 addmenu = uicfg.actionbox_appearsin_addmenu
   373 addmenu.tag_subject_of(('*', 'is', '*'), False)
       
   374 addmenu.tag_object_of(('*', 'is', '*'), False)
       
   375 addmenu.tag_subject_of(('*', 'is_instance_of', '*'), False)
       
   376 addmenu.tag_object_of(('*', 'is_instance_of', '*'), False)
       
   377 addmenu.tag_subject_of(('*', 'identity', '*'), False)
       
   378 addmenu.tag_object_of(('*', 'identity', '*'), False)
       
   379 addmenu.tag_subject_of(('*', 'owned_by', '*'), False)
       
   380 addmenu.tag_subject_of(('*', 'created_by', '*'), False)
       
   381 addmenu.tag_subject_of(('*', 'require_permission', '*'), False)
   373 addmenu.tag_subject_of(('*', 'require_permission', '*'), False)
   382 addmenu.tag_subject_of(('*', 'wf_info_for', '*'), False)
   374 addmenu.tag_subject_of(('*', 'wf_info_for', '*'), False)
   383 addmenu.tag_object_of(('*', 'wf_info_for', '*'), False)
   375 addmenu.tag_object_of(('*', 'wf_info_for', '*'), False)
   384 addmenu.tag_object_of(('*', 'state_of', 'CWEType'), True)
   376 addmenu.tag_object_of(('*', 'state_of', 'CWEType'), True)
   385 addmenu.tag_object_of(('*', 'transition_of', 'CWEType'), True)
   377 addmenu.tag_object_of(('*', 'transition_of', 'CWEType'), True)
   386 addmenu.tag_object_of(('*', 'relation_type', 'CWRType'), True)
   378 addmenu.tag_object_of(('*', 'relation_type', 'CWRType'), True)
   387 addmenu.tag_object_of(('*', 'from_entity', 'CWEType'), False)
   379 addmenu.tag_object_of(('*', 'from_entity', 'CWEType'), False)
   388 addmenu.tag_object_of(('*', 'to_entity', 'CWEType'), False)
   380 addmenu.tag_object_of(('*', 'to_entity', 'CWEType'), False)
   389 addmenu.tag_object_of(('*', 'in_group', 'CWGroup'), True)
   381 addmenu.tag_object_of(('*', 'in_group', 'CWGroup'), True)
   390 addmenu.tag_object_of(('*', 'owned_by', 'CWUser'), False)
       
   391 addmenu.tag_object_of(('*', 'created_by', 'CWUser'), False)
       
   392 addmenu.tag_object_of(('*', 'bookmarked_by', 'CWUser'), True)
   382 addmenu.tag_object_of(('*', 'bookmarked_by', 'CWUser'), True)
   393 addmenu.tag_subject_of(('Transition', 'destination_state', '*'), True)
   383 addmenu.tag_subject_of(('Transition', 'destination_state', '*'), True)
   394 addmenu.tag_object_of(('*', 'allowed_transition', 'Transition'), True)
   384 addmenu.tag_object_of(('*', 'allowed_transition', 'Transition'), True)
   395 addmenu.tag_object_of(('*', 'destination_state', 'State'), True)
   385 addmenu.tag_object_of(('*', 'destination_state', 'State'), True)
   396 addmenu.tag_subject_of(('State', 'allowed_transition', '*'), True)
   386 addmenu.tag_subject_of(('State', 'allowed_transition', '*'), True)