e7b7536e70
- Rename VIEWER role to COMMISSIONER throughout (schema, middleware, admin layout, users page); add psql pre-migration step in entrypoint to rename the PostgreSQL enum value without data loss - Install postgresql-client in Docker runner stage for psql access - Login page: fetch sbLogo from settings API instead of hardcoded path - Password change for all authenticated users: - New PATCH /api/users/me endpoint (verifies current password, hashes new) - Change Password button/modal on /my-squares page - Change Password link in admin sidebar (links to /my-squares) - New password_change email template (seeded, editable in admin) - sendPasswordChangedEmail auto-email triggered on change Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
32 lines
886 B
JSON
32 lines
886 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(npm install:*)",
|
|
"Bash(npx next build:*)",
|
|
"Bash(git init:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(git rm:*)",
|
|
"Bash(docker-compose up:*)",
|
|
"Bash(docker compose:*)",
|
|
"Bash(docker version:*)",
|
|
"Bash(sudo apt-get update:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(dpkg:*)",
|
|
"Bash(docker:*)",
|
|
"Bash(curl:*)",
|
|
"Bash(ss:*)",
|
|
"Bash(echo:*)",
|
|
"Bash(iptables:*)",
|
|
"Bash(npx tsc:*)",
|
|
"Bash(npx prisma generate:*)",
|
|
"Bash(timeout 3 node:*)",
|
|
"Bash(git commit:*)",
|
|
"Bash(git config:*)",
|
|
"Bash(git remote add:*)",
|
|
"Bash(git push:*)",
|
|
"Bash(git remote set-url:*)",
|
|
"Bash(cd /mnt/d/spliceboti/OneDrive/CodingProjects/superbowl/public/images && ls | grep -v -E '^\\(nfc-generic\\\\.png|afc-generic\\\\.png\\)$' | xargs rm)"
|
|
]
|
|
}
|
|
}
|