I would like to know how to create rules which allow firebase database users read and write data to database with emails end ....@company.com
.
I used example from official documentation and changed it:
{
"rules": {
"users": {
"email"{
".write": ""
".read": ""
}
}
}
}
but i do know how to write email check here within rules.