Consider the role based access solution. The following constraints hold:
- stories are not public
- stories can be read by the story creator
- stories can be read by users who the stories have been shared with
Given the constraints how does one share or add collaborators to a story? Given that Alice knows Bobs email but she doesn't know his UID or if he's used the story app.
All the documentation for scope limitation base rules and queries on the UID but as that information is not publicly available I'm struggling to see how that UID ever gets added to a document without implying:
- the document is only read by the creator
- the document is public which defeats the purpose of adding a UID to constrain access
My initial thought was to use email address key but that didn't work. SO issue