Skip to content

Plugin Discovery Mechanism and Aggregation #433

Description

@BryanttV

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 Core Loader, Compilation, and Definition Validation #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: #423

Activity

  1. moved this from Blocked to In Progress in RBAC AuthZ Boardon Sep 15, 2026
  2. rodmgwgu commented on Sep 21, 2026

    @rodmgwgu
    Contributor

    I think this implementation would also close this issue: #446

  3. moved this from In Progress to Ready for Review in RBAC AuthZ Boardon Sep 21, 2026
  4. moved this from Ready for Review to In Review in RBAC AuthZ Boardon Sep 24, 2026
  5. linked a pull request that will close this issuefeat: add authz schema discovery #474on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

willowReleased in Willow

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions