Learn by doing

Here are a collection of practice-oriented guides for using Oso.

Each guide is focused around implementing specific functionality in your application.

Build Role-Based Access Control (RBAC)

Build role-based access control (RBAC) with Oso's built-in authorization modeling features.

Filter Data
Filter Data: Coming Soon Data filtering is coming soon for Rust! If you want to get data filtering in your app now or just want to register your interest for Data Filtering in Rust, drop into our Slack or send an email to our engineering team and we’ll unblock you.
Enforce an Oso Policy
Enforce an Oso Policy To use an Oso policy in your app, you’ll need to “enforce” it. A policy is useless without an app that consults the policy on user actions. For most apps, policies can be enforced on multiple “levels”: Resource-level: is the user allowed to perform this action on a particular resource? Field-level: which fields on this object can the user read? Which ones can they update? Request-level: should this user even be able to hit this endpoint, regardless of the resources it involves? Oso provides an API to enforce authorization at all levels, each of which are described in this guide. We recommend starting out by reading about resource-level enforcement.
Write Rules

Learn about writing Oso policies - the source of truth for authorization logic.

Build Authorization for Resource Hierarchies
Implement Resource Hierarchies This guide is coming soon for Rust! If you want to implement resource hierarchies in your app now or just want to register your interest for this guide in Rust, drop into our Slack or send an email to our engineering team and we’ll unblock you.
More

Read more guides here

Set up a 1x1 with an Oso Engineer

Our team is happy to help you get started with Oso. If you'd like to learn more about using Oso in your app or have any questions, schedule a 1x1 with an Oso engineer.


Was this page useful?