mirror of
https://github.com/PegaProx/project-pegaprox.git
synced 2026-08-12 15:27:47 +08:00
- client_portal _vm_power: reboot was gated on vm.start, so a start-only portal user could reboot (stop+start) a guest. Now gates on vm.restart, matching the main VM API and the scheduler. (Aikido #469089251) - api/power.py list_rates (GET /api/power/rates): returned every cluster's power/cost rates to any authed user. Now scoped via get_user_clusters (admins / default tenant see all), always keeping the shared __default__ fallback row. (Aikido #469089241) - tests: tests/test_aikido_batch3.py (5) — scoped vs admin list + the reboot/start/shutdown permission mapping.