Re: mailgw woes
Ralf Schlatterbeck <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 20, 2021 at 10:31:04PM +0000, Tom Ekberg wrote:
> I've gotten back to this problem and have been working hard to try to
> get the auto-user-register to work. I did as you suggested and
> cut/pasted the code (import sys...) which ran OK. Then I cut/pasted
> from schema.py and your print line:
>
> >>> db.security.addPermissionToRole('Anonymous', 'Register', 'user')
> >>> print (db.security.hasPermission('Register', anonid, 'user'))
> 0
>
> It's almost like it ignores "Register".
> What I'm going to do is copy mailgw.py and change the test for the
> 'Register' by commenting that part of the if test out. This
[commenting out the check for Register makes it work]
Hmm, I have no idea what is happening there. And I don't think we have
changed that particular part of the permission infrastructure recently.
That said: I do not use user registration and possibly many others don't
either. But I think we *do* have registration turned on in roundup's own
tracker.
Has anyone else an idea what is going on there?
Ralf
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: www.runtux.com
Reichergasse 131, A-3411 Weidling email: [email protected]