web/controller.py
branch3.0
changeset 431 18b4dd650ef8
parent 0 b97547f5f1fa
child 635 305da8d6aa2d
--- a/web/controller.py	Thu Jan 15 13:27:17 2009 +0100
+++ b/web/controller.py	Thu Jan 15 13:27:33 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):