--- a/web/views/cwproperties.py Tue Jul 21 12:38:10 2009 +0200
+++ b/web/views/cwproperties.py Tue Jul 21 12:56:29 2009 +0200
@@ -228,10 +228,9 @@
class CWPropertiesForm(SystemCWPropertiesForm):
id = 'propertiesform'
__select__ = (
- # we don't want guests to be able to come here
- match_user_groups('users', 'managers') &
- (none_rset() | ((one_line_rset() & is_user_prefs()) &
- (one_line_rset() & match_user_groups('managers'))))
+ (none_rset() & match_user_groups('users','managers'))
+ | (one_line_rset() & match_user_groups('users') & is_user_prefs())
+ | (one_line_rset() & match_user_groups('managers') & implements('CWUSer'))
)
title = _('preferences')