Skip to content

Commit f110473

Browse files
author
Richard Jones
committed
Fix missing merge of fix to [SF#1177057]
1 parent bcb107f commit f110473

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Feature:
88
Fixed:
99
- Display of Multilinks where linked Class labelprop values are None
1010
- Fix references to the old * Registration Permissions
11+
- Fix missing merge of fix to sf bug 1177057
1112

1213

1314
2005-07-18 0.8.4

roundup/mailgw.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class node. Any parts of other types are each stored in separate files
7272
an exception, the original message is bounced back to the sender with the
7373
explanatory message given in the exception.
7474
75-
$Id: mailgw.py,v 1.159.2.6 2005-06-24 07:17:08 richard Exp $
75+
$Id: mailgw.py,v 1.159.2.7 2005-09-26 02:14:07 richard Exp $
7676
"""
7777
__docformat__ = 'restructuredtext'
7878

@@ -778,7 +778,8 @@ def handle_message(self, message):
778778
# Don't create users if anonymous isn't allowed to register
779779
create = 1
780780
anonid = self.db.user.lookup('anonymous')
781-
if not self.db.security.hasPermission('Create', anonid, 'user'):
781+
if not (self.db.security.hasPermission('Create', anonid, 'user')
782+
and self.db.security.hasPermission('Email Access', anonid)):
782783
create = 0
783784

784785
# ok, now figure out who the author is - create a new user if the

0 commit comments

Comments
 (0)