equal
deleted
inserted
replaced
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 |