Help - userHasPermission

I've updated to the latest version and I'm trying to use auth.api.userHasPermission. However, I'm only getting the error Property 'userHasPermission' does not exist on type 'InferAPI'. Is there any additional configuration I'm missing? Please, enlighten me!
No description
2 Replies
Zamiel
ZamielOP2mo ago
Oh, I forgot to mention that it also happens with listUsers, setUserPassword, listUserSessions, revokeUserSession, among others—literally almost everything.
Ping
Ping2mo ago
Hey, can I see your auth config? And are you in a monorepo?

Did you find this page helpful?