Custom claims
On the backend you can use custom claims to group user's permissions
{
"rules": {
"adminContent": {
".read": "auth.token.admin === true",
".write": "auth.token.admin === true",
}
}
}Last updated
Was this helpful?