Restrict - RBAC/ABAC hybrid authorization library

This page summarizes the projects mentioned and recommended in the original post on /r/golang

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • restrict

    RBAC/ABAC authorization library for Go.

  • Couple of months ago I was looking for a simple authorization library, that would offer a little bit more than just container for roles and permissions, but not be as big as tools like Casbin. As I have not found any library feasible enough, I've decided that it would be a great opportunity to learn, therefore I've created my own: https://github.com/el-mike/restrict

  • gorbac

    goRBAC provides a lightweight role-based access control (RBAC) implementation in Golang.

  • I know there is a lot of authorization libraries out there, so I was trying to create something a little bit different, in between of lightweight tools like gorbac and all-in-one solutions like Casbin.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • casbin

    An authorization library that supports access control models like ACL, RBAC, ABAC in Golang: https://discord.gg/S5UjpzGZjN

  • I know there is a lot of authorization libraries out there, so I was trying to create something a little bit different, in between of lightweight tools like gorbac and all-in-one solutions like Casbin.

  • OPA (Open Policy Agent)

    Open Policy Agent (OPA) is an open source, general-purpose policy engine.

  • There's also open policy agent https://www.openpolicyagent.org/ which is part of cncf. It is cool because you can write unit tests on each of your policies.

  • spicedb

    Open Source, Google Zanzibar-inspired permissions database to enable fine-grained access control for customer applications

  • How about spiceDB

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts