diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index b5d802d150b6b2af0db135c5cd50c5c3536c30be..88868fd39cfa789d5333183e0de60eed58013f59 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
an exception, the original message is bounced back to the sender with the
explanatory message given in the exception.
-$Id: mailgw.py,v 1.77 2002-07-18 11:17:31 gmcm Exp $
+$Id: mailgw.py,v 1.78 2002-07-25 07:14:06 richard Exp $
'''
class UnAuthorized(Exception):
""" Access denied """
+def initialiseSecurity(security):
+ ''' Create some Permissions and Roles on the security object
+
+ This function is directly invoked by security.Security.__init__()
+ as a part of the Security object instantiation.
+ '''
+ newid = security.addPermission(name="Email Registration",
+ description="Anonymous may register through e-mail")
+ security.addPermissionToRole('Anonymous', newid)
+
class Message(mimetools.Message):
''' subclass mimetools.Message so we can retrieve the parts of the
message...
#
# $Log: not supported by cvs2svn $
+# Revision 1.77 2002/07/18 11:17:31 gmcm
+# Add Number and Boolean types to hyperdb.
+# Add conversion cases to web, mail & admin interfaces.
+# Add storage/serialization cases to back_anydbm & back_metakit.
+#
# Revision 1.76 2002/07/10 06:39:37 richard
# . made mailgw handle set and modify operations on multilinks (bug #579094)
#