Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to check permissions on server side - Better Auth
BA
Better Auth
•
12mo 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
?
Better Auth
Join
9,988
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
How to check organization permissions on server without making API call?
BA
Better Auth / help
10mo ago
how to list user organizations on server side?
BA
Better Auth / help
8mo ago
Client side - get all permissions
BA
Better Auth / help
10mo ago
Handling auth on server-side?
BA
Better Auth / help
7mo ago