feat: admin enrollment controls and prune scheduler

This commit is contained in:
2025-10-17 17:43:14 -06:00
parent a72bff5e8e
commit f63d5c4f83
6 changed files with 352 additions and 0 deletions

View File

@@ -401,6 +401,8 @@ def register(
return jsonify({"status": "denied", "reason": "operator_denied"})
if status == "expired":
return jsonify({"status": "expired"})
if status == "completed":
return jsonify({"status": "approved", "detail": "finalized"})
if status != "approved":
return jsonify({"status": status or "unknown"}), 400