File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 88# but WITHOUT ANY WARRANTY; without even the implied warranty of
99# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
1010#
11- # $Id: test_mailgw.py,v 1.73.2.2 2005-06-24 06:48:17 richard Exp $
11+ # $Id: test_mailgw.py,v 1.73.2.3 2005-10-07 05:49:15 richard Exp $
1212
1313# TODO: test bcc
1414
@@ -685,8 +685,11 @@ def testNewUserAuthor(self):
685685 self .assertEqual (l , m )
686686
687687 # now with the permission
688- p = self .db .security .getPermission ('Create' , 'user' )
689- self .db .security .role ['anonymous' ].permissions = [p ]
688+ p = [
689+ self .db .security .getPermission ('Create' , 'user' ),
690+ self .db .security .getPermission ('Email Access' , None ),
691+ ]
692+ self .db .security .role ['anonymous' ].permissions = p
690693 self ._handle_mail (message )
691694 m = self .db .user .list ()
692695 m .sort ()
You can’t perform that action at this time.
0 commit comments