WIP: Implement feedback functionality

This commit is contained in:
Björn Fromme
2023-11-05 18:19:58 +01:00
parent 47f2aa17be
commit 908b904b67
15 changed files with 346 additions and 75 deletions
+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