feat: improve security when delete

This commit is contained in:
Maël Gangloff
2024-08-16 17:10:59 +02:00
parent 8b47d6068c
commit 1c1821838f
2 changed files with 6 additions and 2 deletions

View File

@@ -74,7 +74,9 @@ use Symfony\Component\Uid\Uuid;
security: 'object.user == user',
name: 'update'
),
new Delete(),
new Delete(
security: 'object.user == user'
),
],
)]
class WatchList