Skip to content

Security: lock down staging_feedback writes#23

Open
DigitalBlueprint239 wants to merge 1 commit intomasterfrom
security/lock-down-staging-feedback-writes
Open

Security: lock down staging_feedback writes#23
DigitalBlueprint239 wants to merge 1 commit intomasterfrom
security/lock-down-staging-feedback-writes

Conversation

@DigitalBlueprint239
Copy link
Copy Markdown
Owner

Summary

This PR hardens Firestore security rules to mitigate public write access abuse risks.

Changes

  • staging_feedback: Restricted create access to authenticated users only (isAuthenticated()).
  • users: Added rules to ensure users can only read and write their own profile data.
  • players: Added rules to restrict access to team owners only.
  • waitlist: Explicitly allowed public create access while denying all other operations.
  • General: Maintained existing protections for teams, practicePlans, and plays.

Verification

  • Ran npx tsc --noEmit to ensure no TypeScript regressions.
  • Ran npm test to verify application stability.
  • Manual review of firestore.rules against security best practices.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 1, 2026

Deploy Preview for magical-starlight-0c1207 failed.

Name Link
🔨 Latest commit 3bdf8e7
🔍 Latest deploy log https://app.netlify.com/projects/magical-starlight-0c1207/deploys/69a39ef15a5636000868d3e8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant