web/views/euser.py
branchtls-sprint
changeset 753 17d38f000bea
parent 728 a95b284150d1
child 765 8fda14081686
equal deleted inserted replaced
752:c0506c4a1e6c 753:17d38f000bea
    17 from cubicweb.web.views.baseviews import PrimaryView, EntityView
    17 from cubicweb.web.views.baseviews import PrimaryView, EntityView
    18 
    18 
    19 
    19 
    20 class UserPreferencesEntityAction(Action):
    20 class UserPreferencesEntityAction(Action):
    21     id = 'prefs'
    21     id = 'prefs'
    22     __select__ = (one_line_rset & implements('EUser') &
    22     __select__ = (one_line_rset() & implements('EUser') &
    23                   match_user_groups('owners', 'managers'))
    23                   match_user_groups('owners', 'managers'))
    24     
    24     
    25     title = _('preferences')
    25     title = _('preferences')
    26     category = 'mainactions'
    26     category = 'mainactions'
    27     
    27