oso is an open source policy engine for authorization that’s embedded in your application
Project description
Oso
What is Oso?
Oso is an open source policy engine for authorization that’s embedded in your application. It provides a declarative policy language for expressing authorization logic. You define this logic separately from the rest of your application code, but it executes inside the application and can call directly into it. Oso ships as a library with a built-in debugger and REPL.
Oso is ideal for building permissions into user-facing applications, but you can check out Use Cases to learn about other applications for Oso.
Using Oso consists of two parts:
- Writing Oso policies in a declarative policy language called Polar.
- Embedding Oso in your application using the appropriate language-specific authorization library.
Oso currently offers libraries for Java, Node.js, Python, Ruby, Rust and Go.
Getting started
To get up and running with Oso, check out the Getting Started guides in the Oso documentation.
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: 10+
- Maven: 3.6+
- Node.js: 10.14.2+
- Yarn 1.22+
- Python: 3.6+
- Ruby: 2.4+
- Bundler 2.1.4+
- Rust: 1.46+
- Go: 1.12+
Contributing
See: CONTRIBUTING.md.
License
See: LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file fiddler-0.11.1-py3-none-any.whl
.
File metadata
- Download URL: fiddler-0.11.1-py3-none-any.whl
- Upload date:
- Size: 9.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35350e3c9d243bd597477e52e225c5bdfacdd953112b9e667b7dbd6c4efe15df |
|
MD5 | 3ef6c0f1e17ba3a37a1b0eda74f1db55 |
|
BLAKE2b-256 | d963efd4749e13ddf0cc325e4d1a1569898700e24939b9889dfdaa6c3496bdee |