diff options
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") |
