Add API endpoints to create new users (there is a debug endpoint for inspiration).
The key difference will be that the majority of fields we current accept on the debug endpoint will actually be generated on the backend (e.g. password reset code, initial (non-usable) password).
This can then be called from the frontend by users with the manage users permission.
Add API endpoints to create new users (there is a debug endpoint for inspiration).
The key difference will be that the majority of fields we current accept on the debug endpoint will actually be generated on the backend (e.g. password reset code, initial (non-usable) password).
This can then be called from the frontend by users with the manage users permission.