Google Firebase Rule developer

Job ID: 33756963

Budget: $30 – $250 USD

I have react firebase CRUD project.
All react CRUD functions are working but I need to edit firebase rules.
I have 3 account types (admin, supervisor, user) and each type can get specific data from firestore collection.
I want to get only data that has data.uid=request.auth.uid from firebase collection using firebase rules.
admin can get all data and supervisor can get only data that data,supervisor=request.auth.uid
and then user can get only fdata that data.uid=request.auth.uid
If you can solve this problem, please bid asap.
If you can't, don't waste time.
Thanks.
Related categories: JavaScript Node.js React.js Google Firebase