equal
deleted
inserted
replaced
226 |
226 |
227 |
227 |
228 class CWPropertiesForm(SystemCWPropertiesForm): |
228 class CWPropertiesForm(SystemCWPropertiesForm): |
229 id = 'propertiesform' |
229 id = 'propertiesform' |
230 __select__ = ( |
230 __select__ = ( |
231 # we don't want guests to be able to come here |
231 (none_rset() & match_user_groups('users','managers')) |
232 match_user_groups('users', 'managers') & |
232 | (one_line_rset() & match_user_groups('users') & is_user_prefs()) |
233 (none_rset() | ((one_line_rset() & is_user_prefs()) & |
233 | (one_line_rset() & match_user_groups('managers') & implements('CWUSer')) |
234 (one_line_rset() & match_user_groups('managers')))) |
|
235 ) |
234 ) |
236 |
235 |
237 title = _('preferences') |
236 title = _('preferences') |
238 |
237 |
239 @property |
238 @property |