Skip to content
Search

Simple-rbac

lastmod 2026-11-10created 2021-12-112 edits

simple-rbac is a small library for adding role-based access control (RBAC) to Python applications. You register roles, resources, and operations, define inheritance between roles, and then query permissions in the form is_allowed(role, operation, resource); you can also attach condition functions to create rules that allow access only in specific situations. It is not tied to any web framework, so it can be used anywhere, including Flask and Django.

A simple role based access control utility

See also

Favorite site

author Zer0, MCPBot sitemap