Oso's Blog

Articles about authorization, and other news from Oso's engineering team

Polar, a Configuration Policy Language

oso engineer, Alex Plotnick, led a talk on Polar, oso's declarative policy language

November 13, 2020 —
Internals

Building a runtime reflection system for Rust 🦀️ (Part 2)

The second installment of our series on building a runtime reflection system in Rust looks at how we can dynamically access attributes on Rust structs at runtime.

October 20, 2020 — Sam Scott
Internals

Generate Django QuerySet filters using Oso's authorization policies

At Oso, our goal is to enable users to cleanly separate authorization logic from the rest of their application code. This separation is particularly challenging to achieve for list endpoints that return multiple records. When we started thinking about list views, we realized a single yes or no authorization result was not sufficient because it only enables filtering a collection of records that are already in the application. In this post, we will discuss a solution that allows authorization rules to output filters that can be evaluated more efficiently at the data retrieval layer.

October 14, 2020 — David Hatch
Best Practices

Polar Adventure: A text-based adventure game written in Polar

Recently during a company hackathon we decided to try out using oso's Polar language for a different kind of use case – making a game!

October 13, 2020 — Steve Olsen
Best Practices

Adding auth to a Flask App with Azure Active Directory and Oso

Using Azure Active Directory's B2C identity platform and oso's open-source authorization library for Flask, we'll show how to add user authentication and access control to a simple Flask app.

September 25, 2020 — Leina McDermott
Best Practices

Rust Reflection: Building a Runtime Reflection System (Part 1)

When building support for Rust applications, we needed a system that could give us dynamic access to types, attributes and methods at runtime. Since Rust doesn't have native support for such things, we had to build our own version of a runtime reflection system.

September 24, 2020 — Sam Scott
Internals

Building the GitHub Authorization Model Using Oso

In this post, we'll show how to incrementally build complex authorization policies with oso, using GitHub's authorization model as an example.

August 26, 2020 — Leina McDermott
Best Practices

Get updates on Oso.

We won't spam you. Ever.