diff --git a/src/Module/Integration/Infrastructure/ApiPlatform/Resource/BookStackSearchResult.php b/src/Module/Integration/Infrastructure/ApiPlatform/Resource/BookStackSearchResult.php index dab079a..e4c99ca 100644 --- a/src/Module/Integration/Infrastructure/ApiPlatform/Resource/BookStackSearchResult.php +++ b/src/Module/Integration/Infrastructure/ApiPlatform/Resource/BookStackSearchResult.php @@ -20,7 +20,7 @@ use Symfony\Component\Serializer\Attribute\Groups; ], normalizationContext: ['groups' => ['bookstack_search:read']], provider: BookStackSearchResultProvider::class, - security: "is_granted('IS_AUTHENTICATED_FULLY')", + security: "is_granted('ROLE_USER')", ), ], )]