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.2.tar.gz (19.3 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.2-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_rbaca-1.2.2.tar.gz
  • Upload date:
  • Size: 19.3 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.2.tar.gz
Algorithm Hash digest
SHA256 c36316dc4cae7df6bde7d46e0ff35ba03ce6adabe822ff9c975cf73e5c4354fa
MD5 a15d426e70a7fa842f1dc2d1da476d5d
BLAKE2b-256 2e3e4889146a408af39f0ff08ab794c49e6fcbfeb140aceba6e00fe796f44d77

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_rbaca-1.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: django_rbaca-1.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3027ded3faa336f7d9a28c49bbf5c870138597e2880e3d3645db359f241cb2a
MD5 b7c5b22cf4ed19fab3599875044133ba
BLAKE2b-256 e440c67a178d5f5cd2ce4d21356f973cb477f432e4247f13ffadf45480063af9

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_rbaca-1.2.2-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

1.2.3

2 files

This release

1.2.2 This release

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