When logging in through BrowserID or django.contrib.auth: Create new MM user if none exists

Bug #1025709 reported by Florian Fuchs
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Postorius
Fix Released
Undecided
Florian Fuchs

Bug Description

Currently user data held by Postorius is not neccessarily connected to Mailman. Once logged in, it should be checked if the user already exists in MM and a new user should be added to via the API if necessary.

description: updated
Revision history for this message
Ethan Fremen (mindlace) wrote :

Hmmm... Doesn't this involve some level of disambiguation?

I.e. do we intend to deal with this case: user has mailman user from mail signup/ admin signup, but uses other auth method for web login, and so needs to associate their web auth with a mailman user?

Revision history for this message
Florian Fuchs (flo-fuchs) wrote :

Hi Ethan,

logging in to postorius using django.contrib.auth as well as using BrowserID requires an email address. We can use this address to look up previously created (mail/admin signup) user accounts using the mailman rest API. If none exists we should create one (creating new users is also an API feature).

Florian

Terri (terriko)
Changed in postorius:
status: New → Triaged
Changed in postorius:
assignee: nobody → Florian Fuchs (flo-fuchs)
status: Triaged → In Progress
Revision history for this message
Florian Fuchs (flo-fuchs) wrote :

Automatic (Mailman-)user creation should be optional (i.e. configurable in settings.py). If Postorius is part of a larger Django project where list management is only one aspect among others, it might be undesirable to add a new Mailman-user for every newly created Django user.

tags: added: mailman3-suite-blocker
Changed in postorius:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.