secubox-openwrt/luci-app-system-hub/root
CyberMind-FR 34f980312f fix: system-hub components - Add getTheme() and update ACL
Fixed two issues preventing components page from loading:

1. Added getTheme() method to theme.js
   - components.js was calling Theme.getTheme() which didn't exist
   - Added method to return theme data from SecuBox

2. Updated ACL to grant access to new methods
   - Added get_components and get_components_by_category to read permissions
   - Added luci.secubox methods (modules, modules_by_category, get_theme)
   - Resolves "Access denied" error (-32002)

This fixes the "Theme.getTheme is not a function" and "Access denied" errors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-26 17:13:53 +01:00
..
etc/config fix: hope modules refresh 2025-12-23 18:53:18 +01:00
usr fix: system-hub components - Add getTheme() and update ACL 2025-12-26 17:13:53 +01:00