diff --git a/src/Bundle/ChillDocStoreBundle/Security/Authorization/StoredObjectVoters/AccompanyingCourseStoredObjectVoter.php b/src/Bundle/ChillDocStoreBundle/Security/Authorization/StoredObjectVoters/AccompanyingCourseStoredObjectVoter.php deleted file mode 100644 index 040f4dc32..000000000 --- a/src/Bundle/ChillDocStoreBundle/Security/Authorization/StoredObjectVoters/AccompanyingCourseStoredObjectVoter.php +++ /dev/null @@ -1,55 +0,0 @@ -repository; - } - - protected function attributeToRole(StoredObjectRoleEnum $attribute): string - { - return match ($attribute) { - StoredObjectRoleEnum::EDIT => AccompanyingCourseDocumentVoter::UPDATE, - StoredObjectRoleEnum::SEE => AccompanyingCourseDocumentVoter::SEE_DETAILS, - }; - } - - protected function getClass(): string - { - return AccompanyingCourseDocument::class; - } - - protected function canBeAssociatedWithWorkflow(): bool - { - return true; - } -}