Host hook for the shell's chrome, per user or tenant.
Instance Config decides the platform-wide chrome and is the ceiling. A host that needs a
narrower answer for SOME users — a white-label product hiding the search bar for
organizations whose plan does not include browsing the knowledge base, say — registers a
subclass and overrides Resolve. The shell consults the policy every time it
resolves its flags, and re-resolves when the policy fires Changed (the user's
organization or plan changed under them).
Booleans can only be narrowed: a true from the policy never re-enables something Instance
Config turned off, and recordOpenStyle is not the policy's to change (it is resolved at
startup and pushed to collaborators). appSwitcherStyle may be replaced.
Host hook for the shell's chrome, per user or tenant.
Instance Config decides the platform-wide chrome and is the ceiling. A host that needs a narrower answer for SOME users — a white-label product hiding the search bar for organizations whose plan does not include browsing the knowledge base, say — registers a subclass and overrides Resolve. The shell consults the policy every time it resolves its flags, and re-resolves when the policy fires Changed (the user's organization or plan changed under them).
Booleans can only be narrowed: a
truefrom the policy never re-enables something Instance Config turned off, andrecordOpenStyleis not the policy's to change (it is resolved at startup and pushed to collaborators).appSwitcherStylemay be replaced.Same ClassFactory pattern as BaseUserMenu:
The default (this class) is the identity: nothing changes for hosts that register nothing.