You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've used authorization frameworks that have such tight integration with ORMs that you can write controllers like this:
# get posts, but only the ones allowed for Ben!defget_posts_for_benben=User.find_by(email: "ben@email.com")ability=Ability.for_user(ben)@posts=Post.accessible_by(ability)
There are a few authorization libraries I know of that have this capability:
This Authorization framework + ORM integration increases safety and simplifies development. A new engineer can join a project, write business logic, chain .accessible_by, and respect for the ACL is built into the queries at a low-level.
Do you know of any ORM integrations with casbin that provide this? (in any language) I'm looking at casbin-gorm and other adapters, but don't see this level of ORM integration. Do you know of any adapters or other libraries have this as a goal?
Thank you!
The text was updated successfully, but these errors were encountered:
I've used authorization frameworks that have such tight integration with ORMs that you can write controllers like this:
There are a few authorization libraries I know of that have this capability:
This Authorization framework + ORM integration increases safety and simplifies development. A new engineer can join a project, write business logic, chain
.accessible_by
, and respect for the ACL is built into the queries at a low-level.Do you know of any ORM integrations with casbin that provide this? (in any language) I'm looking at casbin-gorm and other adapters, but don't see this level of ORM integration. Do you know of any adapters or other libraries have this as a goal?
Thank you!
The text was updated successfully, but these errors were encountered: