# HG changeset patch # User Nicolas Chauvat # Date 1248347030 -7200 # Node ID 1d46c016a564633551ed71e786f3569072bd151e # Parent 93c061eac6475aa251393b7e9874d80efbc800c2 #197873: quick access to info for bug report diff -r 93c061eac647 -r 1d46c016a564 web/views/actions.py --- a/web/views/actions.py Thu Jul 23 12:47:09 2009 +0200 +++ b/web/views/actions.py Thu Jul 23 13:03:50 2009 +0200 @@ -286,6 +286,12 @@ title = _('manage') order = 20 +class ManageAction(ManagersAction): + id = 'siteinfo' + title = _('info') + order = 30 + __select__ = match_user_groups('users','managers') + from logilab.common.deprecation import class_moved from cubicweb.web.views.bookmark import FollowAction diff -r 93c061eac647 -r 1d46c016a564 web/views/management.py --- a/web/views/management.py Thu Jul 23 12:47:09 2009 +0200 +++ b/web/views/management.py Thu Jul 23 13:03:50 2009 +0200 @@ -283,7 +283,7 @@ class ProcessInformationView(StartupView): id = 'info' - __select__ = none_rset() & match_user_groups('managers') + __select__ = none_rset() & match_user_groups('users', 'managers') title = _('server information') diff -r 93c061eac647 -r 1d46c016a564 web/views/urlrewrite.py --- a/web/views/urlrewrite.py Thu Jul 23 12:47:09 2009 +0200 +++ b/web/views/urlrewrite.py Thu Jul 23 13:03:50 2009 +0200 @@ -76,6 +76,7 @@ ('/index', dict(vid='index')), ('/myprefs', dict(vid='propertiesform')), ('/siteconfig', dict(vid='systempropertiesform')), + ('/siteinfo', dict(vid='info')), ('/manage', dict(vid='manage')), ('/notfound', dict(vid='404')), ('/error', dict(vid='error')),