Open edX AuthZ provides the architecture and foundations of the authorization framework for the Open edX platform. Currently at version 1.15.0 (requires Python >=3.12), it offers a REST API for managing roles, scopes, and role assignments. The library is actively maintained by the Open edX community with regular releases.
pip install openedx-authzVerified import paths — ran on the pinned version, not inferred.
Initialize the REST API client and fetch role assignments.
Upgrade Python to 3.12 or later.
Use keyword arguments: Client.list_role_assignments(org='my_org') instead of Client.list_role_assignments('my_org').Update payload to include scopes as a list: {"scopes": ["scope1", "scope2"]}.No dependency data recorded yet.