openedx / openedx/openedx-authz

Plugin Discovery Mechanism and Aggregation

Open
#433 0 comments 0 reactions 1 assignee View on GitHub

@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_points is 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 modifying openedx-authz code.

Proposed ADR: https://github.com/openedx/openedx-authz/pull/423

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.