# HG changeset patch # User Sylvain Thénault # Date 1266405917 -3600 # Node ID 181c877b3048a647f95384abcfb57a7f94da5774 # Parent 55eab66c65923a488545bf938575792a6509af60 oops diff -r 55eab66c6592 -r 181c877b3048 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)