# HG changeset patch # User Julien Cristau # Date 1414065073 -7200 # Node ID 7d0acf9cb92a6f92c293e3d5affd475bc3767193 # Parent b3a1d15965d9dc3b8e7dc4863bed15737138276d [service] allow repo_stats for users It's used by the siteinfo view, which is available to managers and users. This change prevents a crash in that view. diff -r b3a1d15965d9 -r 7d0acf9cb92a sobjects/services.py --- a/sobjects/services.py Thu Sep 11 15:17:08 2014 +0200 +++ b/sobjects/services.py Thu Oct 23 13:51:13 2014 +0200 @@ -30,7 +30,7 @@ """ __regid__ = 'repo_stats' - __select__ = match_user_groups('managers') + __select__ = match_user_groups('managers', 'users') def call(self): repo = self._cw.repo # Service are repo side only.