Add live account appeal updates and restricted status settings

This commit is contained in:
2026-10-13 14:22:12 +05:00
parent cfe5820802
commit 8c3de302e7
21 changed files with 508 additions and 52 deletions

View File

@@ -8,14 +8,14 @@ If your account is restricted, sign in as usual. MineGeo will take you to **Acco
- **Banned:** normal account access is blocked. You can submit an appeal explaining why the decision should be reconsidered.
- **Deletion pending:** an Admin has started removing the account. Access remains blocked while the action completes. Only an Admin can finish it.
While restricted, you can read the docs, check this page, sign out, and use the sign-in or password recovery flow. You cannot play through that account, upload maps, use its API keys, or use staff tools. Existing upload and API keys are revoked and existing games and multiplayer participation are ended. Restoring access does not reactivate old keys; create new ones when needed.
Settings shows your account status. While restricted, Settings is read-only: you can view the reason and open your appeal, but normal account changes stay blocked. You can also read the docs, check the appeal page, sign out, and use the sign-in or password recovery flow. You cannot play through that account, upload maps, use its API keys, or use staff tools. Existing upload and API keys are revoked and existing games and multiplayer participation are ended. Restoring access does not reactivate old keys; create new ones when needed.
## Send an appeal
1. Sign in to the banned account and open **/ban/appeal**.
2. Read the ban reason. Explain what happened and why the ban should be reconsidered in **10–2000 characters**.
3. Click **Send appeal**. You can send **one appeal for each ban**, so include the useful details before sending.
4. Return to this page and click **Refresh status** to see the decision.
4. Keep this page open: appeal decisions and account status update automatically while connected. **Refresh status** is available if the connection drops.
Both Moderators and Admins can review account ban appeals. An approval restores access for the ban being reviewed. A rejection keeps the ban. Staff leave a reason you can read on the same page. You cannot submit the same ban again after a rejection; contact the team if you have new information.

View File

@@ -1,6 +1,9 @@
# Deploy MineGeo
Account restrictions and appeals require `20261013070138_account_controls_and_appeals.sql` before deploying.
Live appeal updates additionally require `20261013074208_account_appeals_realtime.sql`,
which adds restricted read policies and the Realtime publication tables. Existing
Supabase public environment variables are sufficient; no new secrets are needed.
No new environment variables are needed. Admin Tools is at `/admin` (Admin only), Moderation Tools is at `/moderation`
(Moderators and Admins); account status and appeals are at `/ban/appeal`. The built-in
guide is `/docs?page=account-bans`. See [Account controls](account-controls.md).