about summary refs log tree commit diff
path: root/gn_auth/auth/system/admin
diff options
context:
space:
mode:
authorClaude2026-08-31 00:00:00 +0000
committerFrederick Muriuki Muriithi2026-08-31 14:05:42 -0500
commitd97983c142d132ee70acd6bfc6b7593ba977652d (patch)
tree4fef93e8d7ec9d0d51966d24d964987fd759fa46 /gn_auth/auth/system/admin
parent012731405716ea6f04d57b3fa29f38a283358b20 (diff)
downloadgn-auth-d97983c142d132ee70acd6bfc6b7593ba977652d.tar.gz
feat(system/roles): add Deprecation header on old path
GET /auth/system/roles is superseded by GET /auth/resource/system/roles,
which has been live since the system Blueprint was registered under the
resources Blueprint.  Add Deprecation: true and a Link successor-version
header when the endpoint is reached via the old path, so callers can
discover the new URL.

The old registration in auth/views.py already carries a TODO noting it
should be removed once consumers are updated.  Callers to migrate:
- GN2: wqflask/views.py, metadata_edits.py (×3), flask_extensions.py,
        oauth2/ui.py, oauth2/request_utils.py, oauth2/resources.py (×2)
- GN3: gn3/api/metadata.py, gn3/api/case_attributes.py
- gn-integration-tests: tests/test_gn_auth_smoke.py

Reviewed-By: Frederick M. Muriithi <fredmanglis@gmail.com>
Diffstat (limited to 'gn_auth/auth/system/admin')
0 files changed, 0 insertions, 0 deletions