fix(config): startup log lists the effective features (TOKENS on by default) #30

Merged
KofTwentyTwo merged 1 commits from feature/log-effective-features into develop 2026-10-14 18:01:17 +00:00
KofTwentyTwo commented 2026-10-14 17:43:08 +00:00 (Migrated from github.com)

The startup line Authentik QBit produced logged the configured features set. TOKENS is on by default whenever writes are enabled (hasFeature(TOKENS)), so it never appeared in that line, and kof22 asked why TOKENS was missing.

New getEffectiveFeatures() returns everything hasFeature reports as on, and the startup log now uses it. A unit test covers it.

🤖 Generated with Claude Code

The startup line `Authentik QBit produced` logged the configured `features` set. TOKENS is on by default whenever writes are enabled (`hasFeature(TOKENS)`), so it never appeared in that line, and kof22 asked why TOKENS was missing. New `getEffectiveFeatures()` returns everything `hasFeature` reports as on, and the startup log now uses it. A unit test covers it. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.