Rust Rbac

Open-source Rust projects categorized as Rbac

Top 4 Rust Rbac Projects

  • oso

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

    Project mention: Show HN: ILLA is an Open-source alternative to Retool | news.ycombinator.com | 2022-11-19

    Not OP but Authentication is easy, authorization is a cross-cutting concern that often requires custom code. E.g., there are people and teams, both of which can have different kinds of access to something (read/write). Sometimes teams have sub-teams. Do the sub-teams have access to the parent teams' resources and/or vice versa? Also what kind of sharing are you going to support? Do people have to have an account to view stuff shared to them or can you just send a link? There are some efforts to make custom DSLs for describing authorization policies, to avoid cross-cutting code[1].

    Computed fields require different treatment at every level of the stack. This isn't inherently hard, but it is an extra feature these low-code/no-code platforms need. Where things get difficult is inn migrations. It's common for a field that is computed at the beginning to become customizable, or for the computation to change. When that happens, what should the value be for old columns? Computed fields also often pull data from multiple other tables, which may require some combination of custom queries and database optimization.

    [1] https://github.com/osohq/oso

  • casbin-rs

    An authorization library that supports access control models like ACL, RBAC, ABAC in Rust.

    Project mention: A Tutorial on How to Integrate Casbin with Poem Web Services | dev.to | 2022-07-23

    Casbin-rs is an authorization library that supports access control models like ACL, RBAC, ABAC written in Rust.

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.

  • sqlx-adapter

    Asynchronous casbin adapter for mysql, postgres, sqlite based on sqlx-rs

  • poem-casbin

    Casbin Poem access control middleware

    Project mention: A Tutorial on How to Integrate Casbin with Poem Web Services | dev.to | 2022-07-23

    In this tutorial, we will integrate casbin-rs with poem web services using poem-casbin middleware.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-11-19.

Rust Rbac related posts

Index

What are some of the best open-source Rbac projects in Rust? This list will help you:

Project Stars
1 oso 2,791
2 casbin-rs 608
3 sqlx-adapter 28
4 poem-casbin 1
Static code analysis for 29 languages.
Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
www.sonarqube.org