On 7/19/20 8:10 AM, Gilles Filippini wrote:
Hi,
I'm trying to understand the Mailman user model, and I'm confused about the respective roles of tables 'auth_user' and 'user'.
auth_user is a Django auth table. These are the users listed in the Django admin web UI.
user is Mailman core's users.
Both have an 'id' column referred to as 'user_id' when used as a foreign key. But there seems to be no relation at all between them as they use different ids for the same user.
Right, they are unrelated.
Our mailman server was migrated from mailman2 to mailman3 about 1.5 year ago, and there is an inconsistency I'd like to fix: 2 of our users have a registered Mailman account with their respective email addresses in table 'auth_user', but these very same addresses in the 'address' table are linked to another old admin account in the 'user' table.
Their Mailman account is the 'old' one. the auth_user account is a Django account
Then if add one of these addresses as a domain owner, it it the old admin address which is selected instead. How could I fix that?
That's because domain owner in a Mailman thing and involvs the Mailman user. You could delete the Django users via the Django admin UI and then re-register them via Postorius. That *might* work.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan