web/views/cwproperties.py
branchstable
changeset 7805 7111bb64b58f
parent 6545 5cea387a5667
child 7829 58f696c0f5b3
child 7855 54283a5b7afc
equal deleted inserted replaced
7804:814fb7f379a3 7805:7111bb64b58f
   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