Closed rscotten closed 3 years ago
Merging #1008 into master will increase coverage by
0.04%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #1008 +/- ##
==========================================
+ Coverage 88.33% 88.37% +0.04%
==========================================
Files 29 29
Lines 797 800 +3
==========================================
+ Hits 704 707 +3
Misses 93 93
@prescottprue Good to go. Please merge.
@prescottprue Hey Scott, anything I can do to help this get merged?
@prescottprue hey Scott, it's been 25 days since I checked this in. Can you please respond?
@prescottprue Can you please respond?
Hey - thanks for making the PR. I haven't been online much recently due to a family emergency - Will look into it now
Description
This PR allows allows the developer to
enableClaims
without having auserProfile
, e.g.:For instance, I was previously using Firestore for my
users
collection, and that collection was at the root level.I had to relocate the
users
collection to be a subcollection ofcustomers
creating the pathcustomers/{customerId}/users
.I don't know the
customerId
at the time of bootstrapping my app, so I can't do something like:But I can store the
customerId
in the Firebase Auth custom claims, and use that to determine the customer account the user can access. Hence this PR.Check List
If not relevant to pull request, check off as complete
Relevant Issues