Skip to main content

oso is an open source policy engine for authorization that's embedded in your application

Project description

Deprecated

We have deprecated the legacy Oso open source library. We have plans for the next open source release and we’re looking forward to getting feedback from the community leading up to that point (please reach out to us in the Slack #help channel). In the meantime, if you’re happy using the Oso open source library now, nothing needs to change – i.e., we are not end-of-lifing (EOL) the library and we’ll continue to provide support and critical bug fixes. More context: here.

Oso

Development GitHub release (latest SemVer) Go version Maven version NPM version PyPI version RubyGems version Crates.io version Slack

What is Oso?

Oso is a batteries-included framework for building authorization in your application.

With Oso, you can:

  • Model: Set up common permissions patterns like role-based access control (RBAC) and relationships using Oso’s built-in primitives. Extend them however you need with Oso’s declarative policy language, Polar.
  • Filter: Go beyond yes/no authorization questions. Implement authorization over collections too - e.g., “Show me only the records that Juno can see.”
  • Test: Write unit tests over your authorization logic now that you have a single interface for it. Use the Oso debugger or REPL to track down unexpected behavior.

Oso offers libraries for Node.js, Python, Go, Rust, Ruby, and Java.

Our latest creation Oso Cloud makes authorization across services as easy as oso.authorize(user, action, resource). Learn about it.

Documentation

Community & Support

If you have any questions on Oso or authorization more generally, you can join our engineering team & hundreds of other developers using Oso in our community Slack:

Button

Share your story

We'd love to hear about your use case and experience with Oso. Share your story in our Success Stories issue.

Development

Core

Oso's Rust core is developed against Rust's latest stable release.

Language libraries

Oso's language libraries can be developed without touching the Rust core, but you will still need the Rust stable toolchain installed in order to build the core.

To build the WebAssembly core for the Node.js library, you will need to have wasm-pack installed and available on your system PATH.

Language requirements

To work on a language library, you will need to meet the following version requirements:

  • Java: 11+
    • Maven: 3.6+
  • Node.js: 12.20.0+
    • Yarn 1.22+
  • Python: 3.7+
  • Ruby: 2.4+
    • Bundler 2.1.4+
  • Rust: 1.46+
  • Go: 1.14+

Contributing & Jobs

See: CONTRIBUTING.md.

If you want to work on the Oso codebase full-time, visit our jobs page.

License

See: LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

oso_yurts-0.27.3-cp313-cp313-manylinux_2_24_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64

oso_yurts-0.27.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

oso_yurts-0.27.3-cp313-cp313-macosx_15_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

oso_yurts-0.27.3-cp313-cp313-macosx_11_0_arm64.whl (2.6 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file oso_yurts-0.27.3-cp313-cp313-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for oso_yurts-0.27.3-cp313-cp313-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 3fccee573ff770c4a56683a2f6f37f87e6c69c4f2d817c6bc4bf2dd28eaab3f9
MD5 1fa08625d22619e6650dd6d3a287df5f
BLAKE2b-256 7303a91152480fde003597c0362670fd716ceeb657b4a2904b228108291c8b5c

See more details on using hashes here.

File details

Details for the file oso_yurts-0.27.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for oso_yurts-0.27.3-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f924505851b3ea55a3a2a868885d890a72a4ce72a65b99b9c0c928826d6b97f2
MD5 91c0506e709e9e711eb17fcc1e272883
BLAKE2b-256 4e7fa824ea64ad86e15f6c15a7692dbc16b7b008e8b4940a6bb99f284e2fc1b1

See more details on using hashes here.

File details

Details for the file oso_yurts-0.27.3-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for oso_yurts-0.27.3-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b04fbcf54c0b5db4189f999f0261c650238ac0d19a33139a332d778e212740ce
MD5 7f6f37ec6a5beb2549c987884f01103c
BLAKE2b-256 a4a824b59b5d0e9f31d78a3fa2eb9714985b540721819d0a949870482a90abef

See more details on using hashes here.

File details

Details for the file oso_yurts-0.27.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for oso_yurts-0.27.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44639c76191cdb99b68670fa7c1fbae6379caf1d1f344644443a1d6af622933d
MD5 216104627b13ee04276110b8902365d0
BLAKE2b-256 298bc49504b98cda2b7191d951db1e1f2410bd0d61699106598b89ad5405936b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page