server/querier.py
changeset 4533 05eadf88b797
parent 4532 85116e75f561
child 4654 717310b3d576
equal deleted inserted replaced
4532:85116e75f561 4533:05eadf88b797
   660         except Unauthorized:
   660         except Unauthorized:
   661             # XXX this could be done in security's after_add_relation hooks
   661             # XXX this could be done in security's after_add_relation hooks
   662             # since it's actually realy only needed there (other relations
   662             # since it's actually realy only needed there (other relations
   663             # security is done *before* actual changes, and add/update entity
   663             # security is done *before* actual changes, and add/update entity
   664             # security is done after changes but in an operation, and exception
   664             # security is done after changes but in an operation, and exception
   665             # generated in operation's events  properly generate a rollback on
   665             # generated in operation's events properly generate a rollback on
   666             # the session). Even though, this is done here for a better
   666             # the session). Even though, this is done here for a better
   667             # consistency: getting an Unauthorized exception means the
   667             # consistency: getting an Unauthorized exception means the
   668             # transaction has been rollbacked
   668             # transaction has been rollbacked
   669             #
   669             #
   670             # notes:
   670             # notes: