Commit 217fdca2 authored by Shane Hathaway's avatar Shane Hathaway

This revision ensures that anonymous users always pass the watermark test.

This is important for the DTML in custom standard_error_message objects.
parent e3a0fe92
......@@ -84,7 +84,7 @@
##############################################################################
"""Access control package"""
__version__='$Revision: 1.102 $'[11:-2]
__version__='$Revision: 1.103 $'[11:-2]
import Globals, App.Undo, socket, regex
from Globals import HTMLFile, MessageDialog, Persistent, PersistentMapping
......@@ -325,6 +325,10 @@ except:
nobody=SpecialUser('Anonymous User','',('Anonymous',), [])
import ZPublisher.BaseRequest
# Make anonymous users always pass the watermark test.
nobody._v__marker__ = ZPublisher.BaseRequest._marker
class BasicUserFolder(Implicit, Persistent, Navigation, Tabs, RoleManager,
Item, App.Undo.UndoSupport):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment