No description
Site settings → Access names a group for each of admin, editor and viewer (migration 047). Someone in one who signs in with Google gets a Google-only account with their highest group's role, and the role follows the groups: at every sign-in, hourly while signed in, and on Panel → Google groups → Re-sync now. Out of every group, the account is disabled and signed out until they're back in one. Group accounts' roles are locked in the Panel; a superadmin's Disable sticks. Superadmins and admin-cli accounts are never changed. If Google can't be asked, sign-ins are refused but the hourly check leaves accounts alone. Panel → Check their groups tests an email. Lookups use the service account through the Directory API as GOOGLE_DIRECTORY_AS. Setup: docs/google-sign-in.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| docs | ||
| server | ||
| src | ||
| .gitignore | ||
| CLAUDE.md | ||
| index.html | ||
| package.json | ||
| pnpm-lock.yaml | ||
| README.md | ||
| site.json | ||
| tsconfig.json | ||
| vite.config.ts | ||
NGU-Web
Website for NGU (Next Generation of Unity): a public site and a role-based admin panel.
- Frontend: React, TypeScript, Tailwind, Vite (
src/).pnpm dev,pnpm build. - API: Hono on Node 22.13+, SQLite (
server/).DB_PATH=./dev.db pnpm dev. - Accounts are made with
server/src/admin-cli.js. - Deployment and setup notes are in
docs/; working notes for contributors are inCLAUDE.md.