server/checkintegrity.py
branchstable
changeset 7685 902909e5f733
parent 7684 9f8f8096d64b
child 7686 6580b5a0f1cf
--- 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)