diff options
| author | Frederick Muriuki Muriithi | 2026-08-28 14:14:36 -0500 |
|---|---|---|
| committer | Frederick Muriuki Muriithi | 2026-08-28 14:14:36 -0500 |
| commit | d9b8803bd808a338a72b03aa55932c8d589892d8 (patch) | |
| tree | 453da3cba282ebb739e07143e900e39898289cee /gn_auth/auth/system/admin | |
| parent | cdf3daefaa6b7870b2f36da440c59c327ea1d62f (diff) | |
| download | gn-auth-d9b8803bd808a338a72b03aa55932c8d589892d8.tar.gz | |
Add package for administrative endpoints.
Diffstat (limited to 'gn_auth/auth/system/admin')
| -rw-r--r-- | gn_auth/auth/system/admin/resources.py | 8 | ||||
| -rw-r--r-- | gn_auth/auth/system/admin/views.py | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gn_auth/auth/system/admin/resources.py b/gn_auth/auth/system/admin/resources.py new file mode 100644 index 0000000..d3a9f54 --- /dev/null +++ b/gn_auth/auth/system/admin/resources.py @@ -0,0 +1,8 @@ +"""Administrative endpoints concerning resources.""" + +from flask import Blueprint + +resources = Blueprint("resources", __name__) + + +# TODO: assign-owner and revoke-owner go here. diff --git a/gn_auth/auth/system/admin/views.py b/gn_auth/auth/system/admin/views.py new file mode 100644 index 0000000..1ea8acd --- /dev/null +++ b/gn_auth/auth/system/admin/views.py @@ -0,0 +1,8 @@ +"""Administrative endpoints.""" + +from flask import Blueprint + +from .resources import resources + +admin = Blueprint("admin", __name__) +admin.register_blueprint(resources, url_prefix="/resources") |
