Is it necessary to check if auth.uid is not null if it is already checking for token
Advertisements Currently allow read, write: if request.auth.uid != null && request.auth.token.admin == true Is it okay to do smth like this? allow read, write: if request.auth.token.admin == true >Solution : It’s not necessary as trying to read property token of null (if user is not signed in) will just error out and reject the operation.… Read More Is it necessary to check if auth.uid is not null if it is already checking for token