--- 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')):