Create a registration web-service
The goal here is to delegate display of registration forms to remote services. The remote service would harvest email, some fields and the password or ask for creation of the password by the user or send a new password. Authentic2 must send any mail needed in the registration workflow.
django_rbac: add an .has_ou_perm() method to check if an user has a permission in a specific ou (#7363)
utils: add a send_registration_mail method (#7363)
It sends a registration link to the given email, it takes
prefilled fields values as kwargs.
registration_backend/views: allow creating user directly from the registration token (#7363)
registration_backend/views: if an ou key is in the token, use it to initialize the user ou field (#7363)
api_views: add a registration API (#7363)
The endpoint is /api/register/ it allows a third party to implement the
registration process, if all field are provided through the web service,
no screen is ever shown to the user by authentic.
Updated by Benjamin Dauvergne over 5 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|3d0549b2efc0fc6cb7ee79703ac12e58d92ba946.