In this release, we take our roles best practices and push them deeper into the product through:
- A role-based access control (RBAC) policy that's built into Polar, and
- The Oso Roles for SQLAlchemy feature, now out of preview
Built-In Role-Based Access Control (RBAC) policy
Oso’s Python and Node libraries now include built-in support for Role-Based Access Control (RBAC) policies. Previously, if you wanted to add support for roles you would read one of our guides and write a policy to suit your needs. Now, you can start from a best-practice template that provides a structured configuration interface and implements the query evaluation logic for you. Read the docs to try it out.
sqlalchemy-oso 0.9.0
The Oso Roles for SQLAlchemy feature, previously published as sqlalchemy-oso-preview, is no longer in preview and now included as part of sqlalchemy-oso. (We actually made this change a couple weeks back with the release of sqlalchemy-oso 0.8.0.) With this release, we have made a number of ergonomic changes to improve the readability of the configuration and make the roles features more intuitive. For more info on sqlalchemy-oso, read the docs.
Community Contributions
Thanks to the ever-helpful @joshrotenberg for a pair of contributions to our Java library. Keep them coming!
For more details on these and other changes, read the changelog.
Set up a 1x1 with an Oso engineer
Our team is happy to help you get started with Oso. If you'd like to try out any of these new features, or if you're interested in learning how to use it in your app, schedule a 1x1 with one of our engineers.
Our team is also available to help with these and other questions about authorization on Slack.