Resolve the server and network in Destination::addServer() and ::promote() through ownedByCurrentTeam() before use, authorize the update against the resource, and pass the validated IDs into attach()/detach()/update(). Errors are routed through handleError() to match the sibling removeServer() method. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| EnvironmentVariable | ||
| ScheduledTask | ||
| Storages | ||
| ConfigurationChecker.php | ||
| Danger.php | ||
| Destination.php | ||
| ExecuteContainerCommand.php | ||
| GetLogs.php | ||
| HealthChecks.php | ||
| Logs.php | ||
| Metrics.php | ||
| ResourceLimits.php | ||
| ResourceOperations.php | ||
| Tags.php | ||
| Terminal.php | ||
| UploadConfig.php | ||
| Webhooks.php | ||