LeMonsalve
Explore posts from serversBABetter Auth
•Created by Bo3o on 3/10/2025 in #help
Unable to add impersonate permission to a new role
We need to wait at least for v1.2.4
21 replies
BABetter Auth
•Created by Bo3o on 3/10/2025 in #help
Unable to add impersonate permission to a new role
Yesss
21 replies
BABetter Auth
•Created by Bo3o on 3/10/2025 in #help
Unable to add impersonate permission to a new role
@Bo3o Bro I was trying different things, admin api only works if your role are in adminRoles prop, even if you have granted permissions to list users, delete etc...
So, you can add your role as admin and only grant unique permissions required to perform your required admin action
21 replies
BABetter Auth
•Created by Bo3o on 3/10/2025 in #help
Unable to add impersonate permission to a new role
I have my custom roles with custom permission set:
21 replies
BABetter Auth
•Created by Bo3o on 3/10/2025 in #help
Unable to add impersonate permission to a new role
I check the code and its true, the auth.ap.userHasPermission, returns correct value, but api resquests such listUsers({ headers: await headers() }) returns UNAUTHORIZED:
21 replies
BABetter Auth
•Created by Bo3o on 3/10/2025 in #help
Unable to add impersonate permission to a new role
Hello, may be your access control config has mistakes
21 replies
BABetter Auth
•Created by LeMonsalve on 3/7/2025 in #help
authClient generates error
package.json:
3 replies