feat: feedback details for role 'administrative'

This commit is contained in:
Björn Fromme committed 2024-03-13 10:29:51 +01:00
1 parent 7e5b0e66c4
commit 712122f10a
4 files changed
+56 -1

No files matched your search

@@ -8,6 +8,7 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Symfony\Component\Security\Http\Attribute\IsGranted;
class IndexController extends AbstractController
{
@@ -18,6 +19,7 @@ class IndexController extends AbstractController
}
#[Route('/administrative/feedback', name: 'app_administrative_feedback_index')]
#[IsGranted('ROLE_ADMINISTRATIVE')]
public function index(Request $request): Response
{
$query = $this