© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
How to check permissions on server side - Better Auth
BA
Better Auth
•
14mo ago
•
24 replies
Heyells
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
auth.api.hasPermission
auth.api.hasPermission
, i cannot use
project:["my_right"]
project:["my_right"]
So i tried to use authClient but it doesn
't work either
.
What should i do
?
Recent Announcements
Similar Threads
How to check organization permissions on server without making API call?
BA
Better Auth / help
11mo ago
how to list user organizations on server side?
BA
Better Auth / help
9mo ago
Client side - get all permissions
BA
Better Auth / help
11mo ago
Handling auth on server-side?
BA
Better Auth / help
9mo ago