Skip to main content


Logo

django-rbaca

Role-based Access Control with Attributes for distributed Django projects.

About The Project

Welcome to Role-Based Access Control with Attributes for distributed Django projects!

This project provides a secure and scalable solution for access control in Django applications. It extends the traditional role-based access control (RBAC) model with attributes to offer finer-grained control over resource access. The implementation is designed to allow decentralized nodes to have access to resources controlled by a central endpoint.

The project offers a Django app for easy integration into existing projects. It includes models for defining roles, attributes, access control policies, as well as an authorization backend for enforcing access control rules. The app also features an API for querying the access control system.

Key Features

  • Role-based access control: Users are assigned roles that define their access to resources.
  • Attribute-based access control: Attributes are assigned to resources and users for finer-grained control over access.
  • Access control API for external nodes: Centralized access control interface for decentralized nodes.
  • Easy integration: The Django app is designed for seamless integration into existing projects.

Installation

Using pip (from PyPI):

pip install django-rbaca

Using poetry (local development):

  1. Clone the repository:
git clone https://github.com/MickaelCormier/django-rbaca
  1. Navigate to the project directory:
cd django-rbaca
  1. Install dependencies:
poetry install

Documentation

For more detailed information, including prerequisites, configuration, and usage examples, please refer to the documentation.

Citation

If you find this project useful in your research, please consider cite:

@misc{django-rbaca,
    title={django-rbaca: Roll-based Access Control with Attributes for distributed Django projects.},
    author={Bruch, Steven and Cormier, Mickael},
    howpublished = {\url{https://github.com/MickaelCormier/django-rbaca/}},
    year={2024}
}

(back to top)

Metadata

Release files for django-rbaca 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-rbaca 1.2.3
File Size Uploaded Provenance Actions
django_rbaca-1.2.3.tar.gz 19.4 kB With provenance Details for django_rbaca-1.2.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-rbaca 1.2.3
File Interpreter ABI Platform Actions
django_rbaca-1.2.3-py3-none-any.whl Python 3 none any Details for django_rbaca-1.2.3-py3-none-any.whl

Total release size: 44.6 kB

Release files / django_rbaca-1.2.3.tar.gz

Download URL django_rbaca-1.2.3.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5fe200aef4dd5da409d94bff63c3bcdf3118f147af3e548cd26d1b1986752ae1
BLAKE2b-256 checksum
How to use checksums
b01266d0d50f09b476e04ae5249a5b5f3d4c80c1e0bfd777bda8c0036ad1e30e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.

Transparency log

Release files / django_rbaca-1.2.3-py3-none-any.whl

Download URL django_rbaca-1.2.3-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2460aeac91e9e64d00239cbf2ac1094f4138ce9d81d10b1c3c5acbd725b4e770
BLAKE2b-256 checksum
How to use checksums
62ede64ae7019cee7ff0f9632a06b7bd8758d5fcd6f22101625e031f94930256
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.

Transparency log

Security for django-rbaca 1.2.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_rbaca-1.2.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page