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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_rbaca-1.2.3.tar.gz (19.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_rbaca-1.2.3-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file django_rbaca-1.2.3.tar.gz.

File metadata

  • Download URL: django_rbaca-1.2.3.tar.gz
  • Upload date:
  • Size: 19.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for django_rbaca-1.2.3.tar.gz
Algorithm Hash digest
SHA256 5fe200aef4dd5da409d94bff63c3bcdf3118f147af3e548cd26d1b1986752ae1
MD5 05a78a751f7e53b4f0665817b7523bec
BLAKE2b-256 b01266d0d50f09b476e04ae5249a5b5f3d4c80c1e0bfd777bda8c0036ad1e30e

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_rbaca-1.2.3.tar.gz:

Publisher: main.yml on MickaelCormier/django-rbaca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_rbaca-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: django_rbaca-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for django_rbaca-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2460aeac91e9e64d00239cbf2ac1094f4138ce9d81d10b1c3c5acbd725b4e770
MD5 235f2380e1435503f21df6b0d14d2411
BLAKE2b-256 62ede64ae7019cee7ff0f9632a06b7bd8758d5fcd6f22101625e031f94930256

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_rbaca-1.2.3-py3-none-any.whl:

Publisher: main.yml on MickaelCormier/django-rbaca

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 files

1.2.2

2 files

1.2.1

2 files

1.1.1

2 files

1.1.0

2 files

1.0.1

2 files

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