Development #7363
Create a registration web-service
100%
Description
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.
Associated revisions
utils: allow multiple template names in send_templated_mail (#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.
setup.py: add dependency on djangorestframework (#7363)
setup.py: add markdown to install_requires (#7363)
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.
templates: homogeneize activation email templates (#7363)
update french translations (fixes #7363)
History
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|3d0549b2efc0fc6cb7ee79703ac12e58d92ba946.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
django_rbac: add an .has_ou_perm() method to check if an user has a permission in a specific ou (#7363)