From 12d84fe1d749913d63debb0fe83b43f9156088b0 Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 31 Mar 2015 13:45:36 +0200 Subject: [PATCH] [FIX] runbot: access `ir.logging` as SUPERUSER --- runbot/runbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index f5dfac0b..84a361cc 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -1160,7 +1160,7 @@ class RunbotController(http.Controller): 'repo': build.repo_id, 'build': self.build_info(build), 'br': {'branch': build.branch_id}, - 'logs': Logging.browse(cr, uid, logging_ids), + 'logs': Logging.browse(cr, SUPERUSER_ID, logging_ids), 'other_builds': other_builds } #context['type'] = type