Skip to content

Commit

Permalink
Add Default validation group
Browse files Browse the repository at this point in the history
  • Loading branch information
Remg committed Jan 29, 2025
1 parent b88d123 commit 2d3b4cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/AdherentZoneBasedRole.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],
normalizationContext: ['groups' => ['zone_based_role_read']],
denormalizationContext: ['groups' => ['zone_based_role_write']],
validationContext: ['groups' => ['zone_based_role_write']],
validationContext: ['groups' => ['Default', 'zone_based_role_write']],
security: 'is_granted(\'REQUEST_SCOPE_GRANTED\', \'circonscriptions\')'
)]
#[ORM\Entity]
Expand Down

0 comments on commit 2d3b4cf

Please sign in to comment.