firebase / firebase/geofire-objc

Removal of priority breaks apps using the current security rules with "Permission denied"

Open
#110 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
447
Forks
183
PR merge metrics
No merged PRs in 30d

Description

The security rules in
https://github.com/firebase/geofire-js/blob/master/examples/securityRules/rules.json
uses `getPriority()` to validate a location on write.

By removing priority in https://github.com/firebase/geofire-objc/commit/96f40431d0d0fe3aac66bc0302da6c9cf3ab2f58, the rules now return a "permission denied" on writing a location as the validation of `getPriority` fails.

Also a version bump would have been nice for this as this would have helped troubleshooting ;)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.