X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1003e4c1d2842b351ea3e168d8ac6c20d83ba442..da341d29226325536f58fb520e0e9c497bacd55d:/forum/modules/ui_objects.py diff --git a/forum/modules/ui_objects.py b/forum/modules/ui_objects.py index a51044a..7fae3d4 100644 --- a/forum/modules/ui_objects.py +++ b/forum/modules/ui_objects.py @@ -40,6 +40,7 @@ class Visibility(object): Visibility.PUBLIC = Visibility('public') +Visibility.ANONYMOUS = Visibility('authenticated', negated=True) Visibility.AUTHENTICATED = Visibility('authenticated') Visibility.STAFF = Visibility('staff') Visibility.SUPERUSER = Visibility('superuser')