grrr tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 29 Apr 2009 10:53:27 +0200
branchtls-sprint
changeset 1535 774b8dc7e681
parent 1534 7edc063e8a91
child 1536 1e695b78d085
grrr
web/views/startup.py
--- a/web/views/startup.py	Wed Apr 29 10:46:08 2009 +0200
+++ b/web/views/startup.py	Wed Apr 29 10:53:27 2009 +0200
@@ -12,7 +12,7 @@
 
 from cubicweb.common.uilib import ureport_as_html, ajax_replace_url
 from cubicweb.view import StartupView
-from cubicweb.selectors import match_user_group
+from cubicweb.selectors import match_user_groups
 from cubicweb.web.httpcache import EtagHTTPCacheManager
 from cubicweb.web.views.management import SecurityViewMixIn
 from copy import deepcopy
@@ -192,7 +192,7 @@
 
 class ManagerSchemaPermissionsView(StartupView, SecurityViewMixIn):
     id = 'schema_security'
-    __select__ = StartupView.__select__ & match_user_group('managers')
+    __select__ = StartupView.__select__ & match_user_groups('managers')
 
     def call(self, display_relations=True,
              skiprels=('is', 'is_instance_of', 'identity', 'owned_by', 'created_by')):