web/controller.py
changeset 437 5d8dc9678707
parent 431 18b4dd650ef8
child 635 305da8d6aa2d
--- a/web/controller.py	Thu Jan 15 10:50:45 2009 +0100
+++ b/web/controller.py	Thu Jan 15 17:37:43 2009 +0100
@@ -11,7 +11,7 @@
 
 from cubicweb import typed_eid
 from cubicweb.common.registerers import priority_registerer
-from cubicweb.common.selectors import in_group_selector
+from cubicweb.common.selectors import match_user_group
 from cubicweb.common.appobject import AppObject
 from cubicweb.web import LOGGER, Redirect, RequestError
 
@@ -68,7 +68,7 @@
     """
     __registry__ = 'controllers'
     __registerer__ = priority_registerer
-    __selectors__ = (in_group_selector,)
+    __selectors__ = (match_user_group,)
     require_groups = ()
 
     def __init__(self, *args, **kwargs):