diff options
| author | Claude Sonnet 4.6 | 2026-08-31 10:00:00 +0000 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-08-31 10:24:53 -0500 |
| commit | 5b4380e61e003a9b4450221d0f499db069098c19 (patch) | |
| tree | f15007e45f68995dc1eb95fbf8e927f8751baef1 /gn_auth/auth/system/admin/views.py | |
| parent | 58c6f7a9eedc77c7268dc350387f78f77d619eac (diff) | |
| download | gn-auth-5b4380e61e003a9b4450221d0f499db069098c19.tar.gz | |
Move create_new_user to gn_auth/auth/system/admin/users.py
Move the user-creation endpoint from gn_auth/auth/authorisation/users/views.py into the new sysadmin package at gn_auth/auth/system/admin/users.py. New URL: POST /auth/system/administration/users/create Old URL: POST /auth/user/create now issues a 308 Permanent Redirect. The admin blueprint is updated to register the new users blueprint at /users. Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'gn_auth/auth/system/admin/views.py')
| -rw-r--r-- | gn_auth/auth/system/admin/views.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gn_auth/auth/system/admin/views.py b/gn_auth/auth/system/admin/views.py index 1ea8acd..f1f76f9 100644 --- a/gn_auth/auth/system/admin/views.py +++ b/gn_auth/auth/system/admin/views.py @@ -3,6 +3,8 @@ from flask import Blueprint from .resources import resources +from .users import users admin = Blueprint("admin", __name__) admin.register_blueprint(resources, url_prefix="/resources") +admin.register_blueprint(users, url_prefix="/users") |
