# HG changeset patch # User Sylvain Thénault # Date 1311316478 -7200 # Node ID 902909e5f733dec9bcd009768ead6fd229689264 # Parent 9f8f8096d64b102fe8353f69af08cd78d4c1c0c7 [c-c db-check] disable write security as well so we can delete stuff when needed (e.g. orphan TrInfo) diff -r 9f8f8096d64b -r 902909e5f733 server/checkintegrity.py --- a/server/checkintegrity.py Fri Jul 22 08:34:03 2011 +0200 +++ b/server/checkintegrity.py Fri Jul 22 08:34:38 2011 +0200 @@ -344,7 +344,7 @@ # yo, launch checks if checks: eids_cache = {} - with security_enabled(session, read=False): # ensure no read security + with security_enabled(session, read=False, write=False): # ensure no read security for check in checks: check_func = globals()['check_%s' % check] check_func(repo.schema, session, eids_cache, fix=fix)