On Tue, Jun 11, 2019, at 10:54 AM, Mark Sapiro wrote:
> On 6/11/19 10:38 AM, Aaryan Bhagat wrote:
> > 
> > But even when doing through mailmanclient bindings which are appropriate 
> > for Postorious, it would not technically bypass creating the "User" entity 
> > as the entity will be created when the account on postorious will be 
> > created, or am I missing something here?
> 
> 
> Not exactly. Creating accounts in Django (Postorius/HyperKitty) does not
> create Users in Mailman Core, but when Postorius calls mailmanclient's
> subscribe method to subscribe a user, mailmanclient submits a request to
> core via the REST API and the processing of that request creates the
> necessary user/address objects for the subscription. See the on_post
> method of the AllMembers class in mailman/rest/members.py for the details.

This used to be the case before Django-Mailman3 exited. With move to
django-allauth, we now sync _most_ of the changes in Postorius down
to Core. AFAIK, we don't do primary email change( there should be a TODO
for this), but add/remove/sign in etc generates signals which creates
appropriate users/addreses and links them.

https://gitlab.com/mailman/django-mailman3/blob/master/django_mailman3/signals.py

> 
> -- 
> Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> _______________________________________________
> Mailman-Developers mailing list -- mailman-developers@python.org
> To unsubscribe send an email to mailman-developers-le...@python.org
> https://mail.python.org/mailman3/lists/mailman-developers.python.org/
> Mailman FAQ: https://wiki.list.org/x/AgA3
> 
> Security Policy: https://wiki.list.org/x/QIA9
>

-- 
  thanks,
  Abhilash Raj (maxking)
_______________________________________________
Mailman-Developers mailing list -- mailman-developers@python.org
To unsubscribe send an email to mailman-developers-le...@python.org
https://mail.python.org/mailman3/lists/mailman-developers.python.org/
Mailman FAQ: https://wiki.list.org/x/AgA3

Security Policy: https://wiki.list.org/x/QIA9

Reply via email to