missing role argument
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Dec 2009 12:52:21 +0100
changeset 4077 1d7103a2ec08
parent 4076 2e8637a97b89
child 4078 3704c121624c
missing role argument
web/uicfg.py
--- a/web/uicfg.py	Wed Dec 09 12:52:09 2009 +0100
+++ b/web/uicfg.py	Wed Dec 09 12:52:21 2009 +0100
@@ -368,7 +368,7 @@
                 continue
             targetschemas = _targetschemas
             if permission is not None:
-                rdef = eschema.rdef(rschema, targettype=targetschemas[0])
+                rdef = eschema.rdef(rschema, role=role, targettype=targetschemas[0])
                 # tag allowing to hijack the permission machinery when
                 # permission is not verifiable until the entity is actually
                 # created...