Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- path /users/$uid/$password is Password {
- read() = isCurrentUser($uid);
- write() = isCurrentUser($uid);
- }
- type Password {
- service: String,
- password: String,
- username: String | Null
- }
- isCurrentUser(userid) = auth != null && auth.uid == userid;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement