Android studio + firebase
User-based table authorization.
Multiple users login with gmail and facebook.
There are 5 records belonging to a user in the lamps table. This user wants to see some email addresses of their records.
In the Authorizations tab, the master user will add his / her sub user. And will choose the records he wants to see.
So record-based authorization.