mirror of
https://github.com/komari-monitor/komari.git
synced 2026-11-23 08:20:46 +00:00
Update plugin permissions to separate admin-approved capabilities from runtime settings. Add AllowSystemRPC, AllowRoutes, and AllowHooks to control server.call, server.route, and server.hook respectively. Registering RPC methods, reading own config, and accessing plugin-local files remain always allowed, so plugins without dangerous permissions can be enabled without approval. Add tests covering server module enforcement and default-granted capabilities.