openedx / openedx/openedx-authz
Plugin Discovery Mechanism and Aggregation
Open
@rodmgwgu is already working on this.
Since Sep 17, 2026.
willow
- Dominant language
- Python
- Stars
- 0
- Forks
- 9
- Avg merge
- 13d 9h
- Merged PRs (30d)
- 9
Description
Description
Implement the dynamic discovery mechanism (evaluating Python entry_points vs. directory convention) to find definitions in other installed modules. The goal is to collect all paths and pass them to the Loader from #410 in a single batch.
Acceptance Criteria
- Select and implement the discovery mechanism (Python
entry_pointsis strongly recommended to align with Open edX standards). - Implement the Collection phase: aggregate all discovered definitions in memory BEFORE passing them to the validator to allow for cross-cutting validation.
- Refactor
openedx-authz: modify the core module so it stops using the static path (from #410 and starts being discovered by this exact same dynamic mechanism, ensuring core and contributions use the identical pipeline. - Create a "fake" test module (
test_plugin) simulating an external contribution to confirm it is automatically discovered without modifyingopenedx-authzcode.
Proposed ADR: https://github.com/openedx/openedx-authz/pull/423
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.