equal
deleted
inserted
replaced
246 (none_rset() & match_user_groups('users','managers')) |
246 (none_rset() & match_user_groups('users','managers')) |
247 | (one_line_rset() & match_user_groups('users') & logged_user_in_rset()) |
247 | (one_line_rset() & match_user_groups('users') & logged_user_in_rset()) |
248 | (one_line_rset() & match_user_groups('managers') & is_instance('CWUser')) |
248 | (one_line_rset() & match_user_groups('managers') & is_instance('CWUser')) |
249 ) |
249 ) |
250 |
250 |
251 title = _('preferences') |
251 title = _('user preferences') |
252 |
252 |
253 @property |
253 @property |
254 def user(self): |
254 def user(self): |
255 if self.cw_rset is None: |
255 if self.cw_rset is None: |
256 return self._cw.user |
256 return self._cw.user |