Modules: manifest "protected" (always-on) flag - #307
Merged
Merged
Conversation
Beyond the hardcoded core protected set (default/system/access), a module can declare "protected": true in its module.json to be non-deactivatable — for an install that must not run without it (e.g. TigerPanel inside a hosted account). - Tiger_Module_Discovery surfaces `protected` from the manifest. - System_Service_Modules::_toggle refuses to deactivate a protected module. - ModulesController row flag = the hardcoded set OR the manifest flag (set on $m so it wins the union; fixes the system-row regression that surfaced when Discovery began emitting `protected`). - DiscoveryTest: protected:true passes through, absent -> false. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ
Merged
WebTigers
added a commit
that referenced
this pull request
Sep 23, 2026
Bump Tiger_Version to 1.15.0; move the protected-flag note from [Unreleased] to [1.15.0]. Content on main (#307). Enables TigerPanel's always-on requirement. Claude-Session: https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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.
A module can declare
"protected": truein itsmodule.jsonto be installable/updatable but never deactivatable in the Module manager — beyond the hardcoded core set (default/system/access). For an install that must not run without a module, e.g. TigerPanel inside a hosted account (TIGER-204).Tiger_Module_Discoverysurfaces the manifestprotectedflag.System_Service_Modules::_togglerefuses to deactivate a protected module.hardcoded-set OR manifest-flag(set on$mso it wins the+union — fixes thesystem-row regression that appeared once Discovery emittedprotected).DiscoveryTest:protected:truepasses through, absent → false.Module + System suites green (234).
🤖 Generated with Claude Code
https://claude.ai/code/session_01ASauLLscjqdsNqBNsx2Typ