Skip to main content

Open edX AuthZ provides the architecture and foundations of the authorization framework.

Project description

openedx-authz

PyPI CI Codecov Documentation Supported Python versions License status-badge

Purpose

Open edX AuthZ provides the architecture and foundations of the authorization framework. It implements the core machinery needed to support consistent authorization across the Open edX ecosystem.

This repository centralizes the architecture, design decisions, and reference implementation of a unified model for roles and permissions. It introduces custom roles, flexible scopes, and policy-based evaluation, aiming to replace the fragmented legacy system with a scalable, extensible, and reusable solution.

See the Product Requirements document for Roles & Permissions for detailed specifications and requirements.

Change Log

Unreleased

0.6.0 - 2025-10-22

Changed

  • Use a SyncedEnforcer with default auto load policy.

Removed

  • Remove Casbin Redis watcher from engine configuration.

0.5.0 - 2025-10-21

Added

  • Default policy for Content Library roles and permissions.

Fixed

  • Add plugin_settings in test settings.

  • Update permissions for RoleListView.

0.4.1 - 2025-10-16

Fixed

  • Load policy before adding policies in the loading script to avoid duplicates.

0.4.0 - 2025-16-10

Changed

  • Initialize enforcer when application is ready to avoid access errors.

0.3.0 - 2025-10-10

Added

  • Implementation of REST API for roles and permissions management.

0.2.0 - 2025-10-10

Added

  • ADRs for key design decisions.

  • Casbin model (CONF) and engine layer for authorization.

  • Implementation of public API for roles and permissions management.

0.1.0 - 2025-08-27

Added

  • Basic repo structure and initial setup.

Project details


Download files

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

Source Distribution

openedx_authz-0.6.0.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

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

openedx_authz-0.6.0-py2.py3-none-any.whl (74.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file openedx_authz-0.6.0.tar.gz.

File metadata

  • Download URL: openedx_authz-0.6.0.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openedx_authz-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4a0e8548ae11e9064d7d97fe52824562b08bd74939805ee23013614ae31d8c2a
MD5 331f0bf2441dd60718de214e0955f9bb
BLAKE2b-256 081a0791450cef20d95e2e3d08218f6d6e2687c8bc0207ffdd482888e3dd84a7

See more details on using hashes here.

File details

Details for the file openedx_authz-0.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: openedx_authz-0.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 74.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for openedx_authz-0.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5a0a48de521dfa368bb66d4731cee33db965938752b4f0b334466413d8e41dc2
MD5 27b36c6e542f6d0e5a192f663c89e288
BLAKE2b-256 5af549287621bd5d29766bad2eeb5d03ab8cabb909c8b0e1b53ddd24cc44cdd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page