Author: jtauber
Date: Mon Sep 22 03:49:01 2008
New Revision: 167
Modified:
trunk/wiki/views.py
Log:
fixed bug where a page was writable as long as you had read permissions
Modified: trunk/wiki/views.py
==============================================================================
--- trunk/wiki/views.py (original)
+++ trunk/wiki/views.py Mon Sep 22 03:49:01 2008
@@ -254,8 +254,8 @@
else:
allow_read, allow_write = True
- if not (allow_read or allow_write):
- return Http404()
+ if not allow_write:
+ return Http404() # @@@ Shouldn't it be forbidden or something?
try:
article = article_qs.get(**article_args)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---