How to check permissions on server side
Hello,
I created custom roles and rights and I would like to check permission but if I use
So i tried to use authClient but it doesn't work either.
What should i do ?
I created custom roles and rights and I would like to check permission but if I use
auth.api.hasPermission , i cannot use project:["my_right"] So i tried to use authClient but it doesn't work either.
What should i do ?







