feat: improved mutability checks for personal data in edit or create mode

This commit is contained in:
Björn Fromme committed 2026-03-16 11:59:11 +01:00
1 parent ff39bf365c
commit 43823dbda1
27 files changed
+435 -233

No files matched your search

+2
View File
@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace App\Form\Model;
use App\Validator\Constraints as AppAssert;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\Validator\Context\ExecutionContextInterface;
@@ -15,6 +16,7 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
* the participant being edited and the full booking context needed for
* cross-participant validation.
*/
#[AppAssert\Booking(groups: ['booking_edit', 'booking_create'])]
class ParticipantEditDto
{
public function __construct(