File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ service cloud.firestore {
3030 }
3131
3232 match / libraries/ {library }/ users/ {user } {
33- allow get : if library in request .auth.token.librariesJoined && ( request .auth. uid == user || library in request .auth.token.permissions.MANAGE_USERS || library in request .auth.token.librariesOwned ) ;
33+ allow get : if request .auth.uid == user || library in request .auth.token.permissions.MANAGE_USERS || library in request .auth.token.librariesOwned ;
3434 allow list : if library in request .auth.token.librariesJoined && (resource .data.uid == request .auth.uid || library in request .auth.token.permissions.MANAGE_USERS || library in request .auth.token.librariesOwned );
3535 allow create , delete : if false ;
3636 allow update : if library in request .auth.token.librariesJoined && ((library in request .auth.token.permissions.MANAGE_USERS && user != request .auth.uid ) || library in request .auth.token.librariesOwned );
You can’t perform that action at this time.
0 commit comments