Looking for information about Oso Cloud, Oso's managed authorization service? Check out the docs →

  • Home
  • Get Started
    • Quickstart
    • Add Oso to Your App
      • Model Your Authorization Logic
      • Enforce authorization
      • Write Polar Rules
      • Filter collections of data
  • How-To Guides
    • Build Role-Based Access Control (RBAC)
    • Filter Data
    • Enforce an Oso Policy
      • Resource-level Enforcement
      • Field-level Enforcement
      • Request-level Enforcement
    • Write Rules
    • Authorize Across Services
    • More
      • Build Attribute-Based Access Control (ABAC)
      • Authorize in the UI
      • Build Authorization for Resource Hierarchies
      • Use Context in Policies
      • Share Rules Across Resources
      • Test Your Policy
  • GitClub Example App
  • Concepts
    • Authorization Best Practices
    • The Polar Language
  • Reference
    • Installation
    • Polar
      • Polar Syntax
      • Python Types in Polar
      • Built-in Rule Types
    • Frameworks & ORMs
      • Data Filtering Integrations
        • Filter collections with Django
        • Filter collections with SQLAlchemy
      • SQLAlchemy Library
      • Django Authorization Library
      • Flask Authorization Library
    • Developer Tools
      • Debugger
      • IDE Support
        • IDE Metrics
      • REPL
      • Tracing
    • Glossary
    • API Reference
  • Project Information
    • Get Help
    • 0.15 Documentation
    • Upgrading to 0.20
    • Releases
      • 2022-01-26
      • 2022-01-06
      • 2021-12-22
      • 2021-12-01
      • 2021-11-10
      • 2021-11-01
      • 2021-10-19
      • 2021-09-29
      • 2021-09-15
      • 2021-08-24
      • 2021-08-13
      • 2021-08-04
      • 2021-07-16
      • 2021-06-30
      • 2021-06-22
      • 2021-06-09
      • 2021-06-01
      • 2021-05-26
      • 2021-05-17
      • 2021-05-12
      • 2021-04-28
      • 2021-04-14
      • 2021-03-31
      • 2021-03-25
      • 2021-03-03
      • 2021-02-17
      • 2021-02-10
      • 2021-02-03
      • 2020-01-20
      • 2020-12-22
      • 2020-12-08
      • 2020-11-25
      • 2020-11-10
      • 2020-10-27
      • 2020-10-13
      • 2020-09-22
      • 2020-09-08
      • 2020-09-01
      • 2020-08-25
      • 2020-08-11
      • 2020-07-28
      • 2020-07-14
      • 2020-06-30
      • 2020-06-03
      • 2020-05-11
      • 2020-04-24
    • Performance
      • The "N+1 Problem"
    • Security
    • Use Cases
    • Internals
    • FAQ

Pick a language:

Node.js
Python
Go Ruby Rust Java
Not listed here? Open an issue

Polar Language Reference

Reference guides for the Polar policy language.

Polar Syntax

A brief description of the core syntax elements of Polar.

Python Types in Polar

Reference for working with Python types in Polar.

Built-in Rule Types

Reference for built-in rule types.

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.

Search Docs

© 2021 Oso Security, Inc.