Files
minecraft-account-manager/design/us-012-admin-operations.md
T
dmg b88097c15a
CI / validate (push) Successful in 5m13s
Release / release (push) Successful in 7m8s
feat(groups): add fail-closed admission management
2026-08-01 18:36:45 -04:00

39 lines
1.5 KiB
Markdown

---
type: User Story
title: Operate settings and audit views
description: Authorized administrators control server messaging and investigate recent platform events.
tags: [admin, settings, audit, operations]
timestamp: 2026-08-01T22:34:31Z
story_id: US-012
status: verified
---
# User Story
As an administrator, I want operational settings and audit visibility, so that I can manage player guidance and investigate activity.
# Acceptance Criteria
- [x] The admin console shows the deployment-managed Discord guild ID and linked invite URL.
- [x] An authorized administrator can update the denied-player registration message.
- [x] Settings actions validate message length server-side.
- [x] Administrators can browse the latest 100 events.
- [x] Event views show type, subject, IP, classification, and approximate location when available.
- [x] Admin console access itself creates an audit event with the SSO identity.
- [x] Settings, users, and events are linked from the shared admin navigation.
# Implementation
- [`apps/web/src/app/admin/(console)/page.tsx`](../apps/web/src/app/admin/%28console%29/page.tsx)
- [`apps/web/src/app/admin/(console)/actions.ts`](../apps/web/src/app/admin/%28console%29/actions.ts)
- [`apps/web/src/app/admin/(console)/events/page.tsx`](../apps/web/src/app/admin/%28console%29/events/page.tsx)
# Validation
Admin routes are dynamic, role-protected, linted, and included in every production build.
# Related Stories
- [Administrator SSO](us-011-admin-sso.md)
- [Preserve an audit trail](us-010-audit-events.md)