web/views/boxes.py
branchtls-sprint
changeset 1151 b20677336ee6
parent 1150 2d1b721fded9
child 1181 620ec8e6ae19
--- a/web/views/boxes.py	Thu Mar 26 19:15:57 2009 +0100
+++ b/web/views/boxes.py	Thu Mar 26 20:11:20 2009 +0100
@@ -37,6 +37,17 @@
     order = 2
     # 'link' / 'create' relation tags, used to control the "add entity" submenu
     rmode = RelationTags() 
+    rmode.set_rtag('link', 'is', 'subject')
+    rmode.set_rtag('link', 'is', 'object')
+    rmode.set_rtag('link', 'is_instance_of', 'subject')
+    rmode.set_rtag('link', 'is_instance_of', 'object')
+    rmode.set_rtag('link', 'identity', 'subject')
+    rmode.set_rtag('link', 'identity', 'object')
+    rmode.set_rtag('link', 'owned_by', 'subject')
+    rmode.set_rtag('link', 'created_by', 'subject')
+    rmode.set_rtag('link', 'require_permission', 'subject')
+    rmode.set_rtag('link', 'wf_info_for', 'subject')
+    rmode.set_rtag('link', 'wf_info_for', 'subject')
 
     @classmethod
     def registered(cls, registry):