cubicweb/web/views/cwuser.py
branch3.26
changeset 12432 2fcb53ee5178
parent 12431 a570191d67b0
child 12567 26744ad37953
--- a/cubicweb/web/views/cwuser.py	Tue Oct 09 16:24:12 2018 +0200
+++ b/cubicweb/web/views/cwuser.py	Mon Oct 29 10:04:31 2018 +0100
@@ -43,8 +43,8 @@
 
 class UserPreferencesEntityAction(action.Action):
     __regid__ = 'prefs'
-    __select__ = (one_line_rset() & is_instance('CWUser') &
-                  match_user_groups('owners', 'managers'))
+    __select__ = (one_line_rset() & is_instance('CWUser')
+                  & match_user_groups('owners', 'managers'))
 
     title = _('preferences')
     category = 'mainactions'