Does anyone have a good example of how authClient.admin.hasPermission works?
I've tried everything, searching, using AI, but nothing makes it work in my code. How should this be used correctly? Could some good soul give me an example of a complete configuration + example of use?