Authorize settings administration
The native settings page requires all three conditions: the current panel has FLEX Theme, that plugin allows its settings page, and Laravel’smanage-flex-theme gate allows the current user. The package does not automatically
give every authenticated user this ability.
Define the gate in your application’s service provider. Adapt the role/attribute
check to your application:
canAccessPanel() and resource policies still
apply. Hiding a navigation item alone is not an authorization strategy.
Give different panels different themes
Create a separate plugin instance in each native panel provider. Stable native panel IDs identify saved preference rows and owned branding assets.Permit administration only in selected panels
settingsPage(false).
Ordinary panel users still see the saved design without needing this gate.
Links, navigation and search
settingsPage(false) is a real feature switch; overriding only a menu item’s
visibility is not an equivalent replacement.