server/repository.py
branchstable
changeset 6257 7eb5f1aed728
parent 6256 da77d3f95079
child 6279 42079f752a9c
child 6308 c151c730a1ac
--- 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