Skip to content

fix: add the option permission to the declared admin resources instead of replacing them - #16

Merged
anoziere merged 3 commits into
mainfrom
fix/admin-resources-append
Nov 8, 2026
Merged

anoziere merged 3 commits into
mainfrom
fix/admin-resources-append

Conversation

@anoziere

@anoziere anoziere commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

configureContainer() set thelia.api.admin_resources, which replaces the parameter: with two modules declaring admin resources, the last one loaded erased the other. The permission is now added to the declared resources by a compiler pass (same approach as the Dealer module).

  • AdminResourcesDeclarationTest fails with the old set (a resource declared by another module is lost) and passes now.
  • Version 3.0.3, CHANGELOG added.

@anoziere
anoziere marked this pull request as ready for review November 8, 2026 13:10
@anoziere
anoziere merged commit cc6f84a into main Nov 8, 2026
5 checks passed
@anoziere
anoziere deleted the fix/admin-resources-append branch November 8, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant