joeldick / chess_puzzles2

0 stars 0 forks source link

Firestore rules #20

Closed joeldick closed 2 months ago

joeldick commented 2 months ago

Currently, the access rules for the Firestore database is still what they gave me for development mode that allows anybody to access it:

allow read, write: if request.time < timestamp.date(2024, 7, 24);

Update to make it more restrictive:

allow read, write: if request.auth != null && request.auth.uid == userId;

joeldick commented 2 months ago

Switched to Firebase for authorization and updated Firestore rules.