bolt
bolt copied to clipboard
Firebase Rules based on other table
Hello,
I have this structure,
So i have here usertypes and ever user have a user type.
So what is the best way to do it, and when access to /Events this will check the user type and get the permissions and then check the read
Thanks
root.child('/users' + uid).userType.val() == type