Thanks to visit codestin.com
Credit goes to github.com

Skip to content

polling-repo-continua/oso

 
 

oso

Development GitHub release (latest SemVer) PyPI version Gem Version Slack

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:

  1. Writing oso policies in a declarative policy language called Polar
  2. Embedding oso in your application using the appropriate language-specific authorization library

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+
  • Python: 3.6+
  • Ruby: 2.4+
    • Bundler 2.1.4+
  • Node.js: 10.14.2+
    • Yarn 1.22+

Contributing

See: CONTRIBUTING.md.

License

See: LICENSE.

About

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

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 48.5%
  • Python 16.9%
  • TypeScript 11.5%
  • Ruby 11.2%
  • Java 11.1%
  • Makefile 0.6%
  • Other 0.2%