Skip to content

Is Orchid capable of implementing RBAC/ACL? #243

Answered by romeerez
matthewmorek asked this question in Q&A
Discussion options

You must be logged in to vote

That's right, the auth topic wasn't mentioned in the issues before this, and there is nothing specific for it in Orchid ORM.

For third-party providers such as Clerk, it should be simple enough. For Auth0 I just stored user_id and called it a day, nothing else isn't required to be stored, and RBAC is handled completely by the third party.

Regarding Auth.js (Next-Auth) - why not, it's a good idea to maintain integration with an open-source project. I looked at the drizzle integration with Auth.js and it doesn't seem like a big problem to implement. But only if you're going to use Next-Auth, it's not worth building an integration for Auth.js if it's not going to be used by anybody in the nea…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@romeerez
Comment options

@matthewmorek
Comment options

@IlyaSemenov
Comment options

@matthewmorek
Comment options

@romeerez
Comment options

Answer selected by matthewmorek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants