diff --git a/src/Controllers/PostController.php b/src/Controllers/PostController.php index 3df1a25c..069678c2 100644 --- a/src/Controllers/PostController.php +++ b/src/Controllers/PostController.php @@ -152,6 +152,7 @@ final class PostController extends AbstractController public function featurePost($postNameOrId) { + $this->privilegeService->assertPrivilege(Privilege::FEATURE_POSTS); $post = $this->postService->getByNameOrId($postNameOrId); $this->postFeatureService->featurePost($post); }