--- a/web/views/urlrewrite.py Fri Sep 16 10:36:46 2011 +0200
+++ b/web/views/urlrewrite.py Fri Sep 16 12:48:26 2011 +0200
@@ -20,6 +20,7 @@
import re
from cubicweb import typed_eid
+from cubicweb.uilib import domid
from cubicweb.appobject import AppObject
@@ -96,7 +97,10 @@
('/error', dict(vid='error')),
('/sparql', dict(vid='sparql')),
('/processinfo', dict(vid='processinfo')),
- (rgx('/cwuser', re.I), dict(vid='cw.user-management')),
+ (rgx('/cwuser', re.I), dict(vid='cw.users-and-groups-management',
+ tab=domid('cw.users-management'))),
+ (rgx('/cwgroup', re.I), dict(vid='cw.users-and-groups-management',
+ tab=domid('cw.groups-management'))),
(rgx('/cwsource', re.I), dict(vid='cw.source-management')),
# XXX should be case insensitive as 'create', but I would like to find another way than
# relying on the etype_selector