Closed jannikkeye closed 7 years ago
Is this code in client and server?
Ah, okay I see. It was only in client. Everything except the indexFilter helper belongs in client code? It works like this but I declare the role once on client and once on server. Where is the best place to but the code bits?
It's best to put all roles rules in client and server
When I create a new role and then create an account with that role I can't see documents in my table.
I run this in client code:
Hiding/showing disallowing stuff works but I can't see any documents in my tables. There are no subscriptions apparently.
Hope someone can help.