Skip to content

test: cover members-only Firestore access rules#78

Merged
daliu merged 2 commits into
mainfrom
codex/issue-77-members-only-rules-tests
Jul 12, 2026
Merged

test: cover members-only Firestore access rules#78
daliu merged 2 commits into
mainfrom
codex/issue-77-members-only-rules-tests

Conversation

@daliu

@daliu daliu commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add direct security-rules coverage for the private members_only collection
  • verify anonymous and unverified users are denied read access
  • verify members and admins can read
  • verify anonymous, no-role, unverified, and member users cannot create, update, or delete private content

Validation

  • npm run test:rules (97 tests passed)
  • npx eslint tests/firestore-rules/members-only.test.js
  • git diff --check

Closes #77

@netlify

netlify Bot commented Jul 12, 2026

Copy link
Copy Markdown

Deploy Preview for luminous-fox-7c393f failed.

Name Link
🔨 Latest commit 479d208
🔍 Latest deploy log https://app.netlify.com/projects/luminous-fox-7c393f/deploys/6a53eb4dc160b300089e82b5

@daliu daliu merged commit 389e250 into main Jul 12, 2026
3 of 7 checks passed
@daliu daliu deleted the codex/issue-77-members-only-rules-tests branch July 12, 2026 19:31
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