oso icon indicating copy to clipboard operation
oso copied to clipboard

hybrid_method and hybrid_attribute SQLAlchemy support

Open hueypeard opened this issue 4 years ago • 1 comments

Hi, I'm interested in implementing a permissions system using oso but sadly need to call out to something else to generate a subquery whose results are checked. Is this planned at all?

Thanks for the amazing work otherwise!

hueypeard avatar Apr 17 '21 18:04 hueypeard

Hey @hueypeard --

Thanks for your interest in Oso! We've had a few other requests for this. Could you expand a bit more on your use case?

Are you using both hybrid_attribute & hybrid_method? How do you want to use them from your authorization policy?

hybrid_attribute would be a bit easier for us to support, but ultimately both should be feasible.

dhatch avatar Apr 19 '21 23:04 dhatch