Re: mailgw woes
Tom Ekberg <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <MWHPR08MB294168863EBBC2CB31DC2534CA5B9@MWHPR08MB2941.namprd08.prod.outlook.com> |
John, What a nice feature - good to learning something new! That is what I see 🙁. Here is some of the output from roundup-admin -i /mnt/trackers/d1golive security ... Role "anonymous": User may access the web interface (Web Access) User may use the email interface (Email Access) User is allowed to register new user (Register for "user" only) ... This is the only line with the word 'register'. Piped the roundup-admin output to "grep -i register" just to make sure. Tom Ekberg Senior Computer Specialist Department of Laboratory Medicine and Pathology 4th Floor, Pat Steel Building, currently WFH Home: (253) 561-2509 Email: [email protected] ________________________________ From: [email protected] <[email protected]> on behalf of John P. Rouillard <[email protected]> Sent: Tuesday, April 27, 2021 8:40 AM To: Ralf Schlatterbeck <[email protected]> Cc: Tom Ekberg <[email protected]>; [email protected] <[email protected]> Subject: Re: [Roundup-users] mailgw woes Hi All: Sorry, I haven't been following this in detail. In message <[email protected]>, Ralf Schlatterbeck writes: >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. >in >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? What does: roundup_admin -i tracker_dir security show? You should see: Role "Anonymous": ... User is allowed to register new user (Register for "user" only) ... and there should not be any other Register roles. -- -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users