f709e98bd3
- POST /ticket_dependencies: verify user can access both the source ticket and the target ticket before creating a dependency - DELETE by ticket IDs: verify user can access source ticket; also validate dependency_type against the allowed whitelist - DELETE by dependency_id: look up dependency's ticket before deletion and verify user can access it, preventing IDOR - custom_fields.php: validate json_decode returns an array on POST/PUT; add http_response_code(400) to all error responses Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>