mirror of
https://github.com/garrytan/gstack.git
synced 2026-05-18 18:32:28 +08:00
docs: cross-reference leaderboard duplication, service-role-key warning
- Add cross-reference comments between dashboard-queries.ts computeLeaderboard() and dashboard/ui.ts renderLeaderboard() so maintainers know to update both - Add security note in setup-team-dashboard about service-role-key visibility in pg_cron job table Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -83,6 +83,8 @@ select cron.schedule(
|
||||
|
||||
Replace `<supabase-url>` and `<service-role-key>` with actual values.
|
||||
|
||||
**Security note:** The service-role-key is stored in the `cron.job` table and visible to anyone with SQL editor access to your Supabase project. This is the standard Supabase pattern for cron → edge function calls. If this concerns you, use Supabase Vault to store the key instead.
|
||||
|
||||
### Step 7: Configure Slack webhook
|
||||
|
||||
Ask the user for their Slack webhook URL (from https://api.slack.com/messaging/webhooks).
|
||||
|
||||
Reference in New Issue
Block a user