branch | stable |
changeset 4608 | 181c877b3048 |
parent 4607 | 55eab66c6592 |
child 4619 | f4254586e867 |
--- 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)