# HG changeset patch # User Julien Cristau # Date 1392740974 -3600 # Node ID d2fd866f69a2d1dc9a922286f4350aac9a6605f7 # Parent be9b12f42d765513c3494e1df076525370bf4bd3 [repoapi] add security/hook control and system_sql Just redirect these methods to the repo-side Connection. diff -r be9b12f42d76 -r d2fd866f69a2 repoapi.py --- a/repoapi.py Mon Feb 17 15:22:21 2014 +0100 +++ b/repoapi.py Tue Feb 18 17:29:34 2014 +0100 @@ -219,6 +219,16 @@ commit = _srv_cnx_func('commit') rollback = _srv_cnx_func('rollback') + # security ################################################################# + + allow_all_hooks_but = _srv_cnx_func('allow_all_hooks_but') + deny_all_hooks_but = _srv_cnx_func('deny_all_hooks_but') + security_enabled = _srv_cnx_func('security_enabled') + + # direct sql ############################################################### + + system_sql = _srv_cnx_func('system_sql') + # session data methods ##################################################### get_shared_data = _srv_cnx_func('get_shared_data')