sobjects/services.py
changeset 10074 ab956b780d4e
parent 10034 7d0acf9cb92a
child 10309 35bf741203d6
equal deleted inserted replaced
10068:1b0cb3c6c95e 10074:ab956b780d4e
    28     """Return a dictionary containing some statistics about the repository
    28     """Return a dictionary containing some statistics about the repository
    29     resources usage.
    29     resources usage.
    30     """
    30     """
    31 
    31 
    32     __regid__  = 'repo_stats'
    32     __regid__  = 'repo_stats'
    33     __select__ = match_user_groups('managers')
    33     __select__ = match_user_groups('managers', 'users')
    34 
    34 
    35     def call(self):
    35     def call(self):
    36         repo = self._cw.repo # Service are repo side only.
    36         repo = self._cw.repo # Service are repo side only.
    37         results = {}
    37         results = {}
    38         querier = repo.querier
    38         querier = repo.querier