From 9fe3bc43d0209db4e2b8f3b24feec426159e67f1 Mon Sep 17 00:00:00 2001 From: Steve Dogiakos Date: Mon, 9 Mar 2026 23:37:13 -0600 Subject: [PATCH] chore: add TODO for admin interface --- app.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.py b/app.py index 775e2c9..bdd2b56 100644 --- a/app.py +++ b/app.py @@ -177,6 +177,9 @@ def index(): logger.info("Rendering index with %d guests.", len(guests)) return render_template('index.html', error=error, guests=guests) +# TODO: Add an admin interface for reviewing and deleting guest entries. +# Should include: paginated entry list, per-entry delete, and authentication +# (e.g. HTTP Basic Auth or a simple token) to restrict access. @app.route('/api/guests', methods=['GET']) def api_guests(): api_key = request.headers.get('X-API-Key')