Add a user creation API
Review Request #8185 — Created May 24, 2016 and submitted
Users can now be created through the
/api/users/
endpoint. This is
only available on the global api (i.e, not on any local sites) and to
superusers.
Ran unit tests.
Change Summary:
Add new unit tests and improve existing ones; add e-mail validation
Diff: |
Revision 2 (+190 -5) |
---|

-
Tool: Pyflakes Processed Files: reviewboard/webapi/resources/user.py reviewboard/webapi/tests/test_user.py Tool: PEP8 Style Checker Processed Files: reviewboard/webapi/resources/user.py reviewboard/webapi/tests/test_user.py
-
-
reviewboard/webapi/resources/user.py (Diff revision 2) Perhaps we should check the
auth.add_user
permission instead? -