google / ground-platform

Ground hosted components: Web console, Cloud Functions, db config
http://groundplatform.org
Apache License 2.0
207 stars 88 forks source link

Loggedin user not in passlist can't see Access denied page #2008

Closed rfontanarosa closed 2 months ago

rfontanarosa commented 2 months ago

Bug introduced by me here: https://github.com/google/ground-platform/pull/1994/files

match /users/{userId} { allow read, create, write: if userId == request.auth.uid; allow read: if canAccess(); allow create, write: if userId == request.auth.uid; }