oops stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 17 Feb 2010 12:25:17 +0100
branchstable
changeset 4608 181c877b3048
parent 4607 55eab66c6592
child 4609 169ca2904322
oops
schema.py
--- a/schema.py	Wed Feb 17 12:21:28 2010 +0100
+++ b/schema.py	Wed Feb 17 12:25:17 2010 +0100
@@ -256,7 +256,7 @@
     # object, if so that's enough
     if 'owners' in groups and (
           kwargs.get('creating')
-          or ('eid' in kwargs and session.user.owns(kwargs['eid'])):
+          or ('eid' in kwargs and session.user.owns(kwargs['eid']))):
         return
     # else if there is some rql expressions, check them
     if any(rqlexpr.check(session, **kwargs)