how to allow only two users to access firebase database to perform read and write operations?I have tried to do so but I am able to add only 1 user
{ "rules": { ".write":"auth.uid ==='yoz4SkfUu3gv1QZt8dVFsF4jj9J2','yoz4SkfUu3gv1QZt8dVFsF4jj9J2'" ".read":"auth.uid ==='yoz4SkfUu3gv1QZt8dVFsF4jj9J2'" } }
Quote:Error saving rules - Line 6: Rule expressions may not contain ',' operator.
/users
"$user": { ".read": "auth.uid === $user" ".write": "auth.uid === $user" }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)