mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-21 22:05:23 +02:00
Host-level schedules (server / dokploy-server) run their script as root on the host. The owner/admin gate only ran in the no-service branch, so a member could attach an accessible applicationId to a dokploy-server schedule and skip it, gaining root via schedule.runManually. Extract assertHostScheduleAccess into the schedule service and call it before the service-access branch in create/update/delete/runManually so the host-level authorization always applies.