diff -r da77d3f95079 -r 7eb5f1aed728 server/repository.py --- a/server/repository.py Thu Sep 16 11:27:50 2010 +0200 +++ b/server/repository.py Thu Sep 16 11:28:25 2010 +0200 @@ -461,6 +461,14 @@ cubes.remove('cubicweb') return cubes + def get_option_value(self, option): + """Return the value for `option` in the configuration. + + This is a public method, not requiring a session id. + """ + # XXX we may want to check we don't give sensible information + return self.config[option] + @cached def get_versions(self, checkversions=False): """Return the a dictionary containing cubes used by this instance