Repository navigation
fix: insecure provider for non-module-system user classes - #497
Merged
Merged
Conversation
…ser classes Same bug as unfree: when a user has classes = ["user"] (no homeManager), the insecure provider resolved with class = "user" which isn't in validClasses, silently dropping the permittedInsecurePackages emission. Emit to the host's OS class for any non-module-system class.
drupol
approved these changes
May 9, 2026
theutz
approved these changes
May 9, 2026
drupol
reviewed
May 9, 2026
drupol
approved these changes
May 9, 2026
charlesfire
pushed a commit
to charlesfire/den
that referenced
this pull request
May 16, 2026
## Summary - Same bug as denful#495 (unfree): when a user has `classes = ["user"]` (no homeManager), `den.provides.insecure` resolved with `class = "user"` — not in `validClasses` — silently dropping the `permittedInsecurePackages` emission - Fix: add `host` arg and emit to the host's OS class for any non-module-system class, matching the unfree provider fix - Audited all other providers in `modules/aspects/provides/` — none are affected ## Test plan - [x] Existing `insecure` test suite passes - [x] Verified: user aspect with `classes = ["user"]` now correctly populates `igloo.permittedInsecurePackages.packages`
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
classes = ["user"](no homeManager),den.provides.insecureresolved withclass = "user"— not invalidClasses— silently dropping thepermittedInsecurePackagesemissionhostarg and emit to the host's OS class for any non-module-system class, matching the unfree provider fixmodules/aspects/provides/— none are affectedTest plan
insecuretest suite passesclasses = ["user"]now correctly populatesigloo.permittedInsecurePackages.packages