Can we use a seperate table for roles? #4937
Replies: 1 comment 3 replies
|
Hi @Manujdixit! I'm Dosu and I’m helping the better-auth team. Yes, Better Auth supports using a separate table for roles and is designed to integrate flexibly with existing databases. You can configure dynamic access control so that roles and their permissions are loaded from a dedicated table (commonly named The framework uses adapters and plugins that can be tailored to your database setup, so you can adapt the integration to fit your schema restrictions. If you need to extend or override the schema or queries, you can do so at the adapter level source. If you have specific schema constraints, you may need to customize the adapter or plugin configuration to match your table structure, but the system is built to support this kind of integration. To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
Uh oh!
There was an error while loading. Please reload this page.
in my case i am integrating auth to a exisitng db, and have some restricitons.
All reactions