WIP: Implement feedback functionality

This commit is contained in:
Björn Fromme committed 2023-11-05 18:19:58 +01:00
1 parent 47f2aa17be
commit 908b904b67
15 files changed
+346 -75

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ class DispositionVoter extends Voter
return false;
}
return in_array($attribute, [static::VIEW, static::EDIT, static::DELETE, static::CONTRACT, static::INVOICE]);
return in_array($attribute, [static::VIEW, static::EDIT, static::DELETE, static::CONTRACT, static::INVOICE, static::FEEDBACK]);
}
protected function voteOnAttribute(string $attribute, mixed $subject, TokenInterface $token): bool