Rust access-control

Open-source Rust projects categorized as access-control

Top 6 Rust access-control 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.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

  • actix-web-grants

    Authorization extension for actix-web to validate user permissions

    Project mention: authz crates for rocket and poem | reddit.com/r/rust | 2022-02-23

    Beta versions of rocket-grants and poem-grants have been released 🎉 🦀🔐 These are complete analogues of actix-web-grants

  • sqlx-adapter

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

  • poem-grants

    Authorization extension for poem to validate user permissions

    Project mention: authz crates for rocket and poem | reddit.com/r/rust | 2022-02-23

    Beta versions of rocket-grants and poem-grants have been released 🎉 🦀🔐 These are complete analogues of actix-web-grants

  • rocket-grants

    Authorization extension for Rocket to validate user permissions

    Project mention: authz crates for rocket and poem | reddit.com/r/rust | 2022-02-23

    Beta versions of rocket-grants and poem-grants have been released 🎉 🦀🔐 These are complete analogues of actix-web-grants

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 access-control related posts

Index

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

Project Stars
1 oso 2,791
2 casbin-rs 608
3 actix-web-grants 110
4 sqlx-adapter 28
5 poem-grants 13
6 rocket-grants 7
Close all those tabs. Zigi will handle your updates.
Zigi monitors Jira and GitHub updates, pings you when PRs need approval and lets you take fast actions - all directly from Slack! Plus it reduces cycle time by up to 75%.
www.zigi.ai