changeset 4015 | 4f8235204dda |
parent 4007 | 91d11fda4aa0 |
child 4072 | ead446e70c28 |
--- a/web/uicfg.py Tue Dec 08 09:10:16 2009 +0100 +++ b/web/uicfg.py Tue Dec 08 09:10:39 2009 +0100 @@ -360,7 +360,7 @@ continue rdef = rschema.role_rdef(eschema, tschema, role) if not ((not strict and rdef.has_local_role(permission)) or - rdef.has_perm(entity.req, permission, fromeid=eid)): + rdef.has_perm(entity._cw, permission, fromeid=eid)): continue _targetschemas.append(tschema) if not _targetschemas: