From 14eb7c97d058cdb0bc40f0db3dc7750a88b3eb43 Mon Sep 17 00:00:00 2001 From: Franz Liedke Date: Fri, 15 Apr 2016 21:00:43 +0900 Subject: [PATCH] Only list tags available to current user --- extensions/tags/src/Api/Controller/ListTagsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/tags/src/Api/Controller/ListTagsController.php b/extensions/tags/src/Api/Controller/ListTagsController.php index 3c10f9697..2aa112783 100644 --- a/extensions/tags/src/Api/Controller/ListTagsController.php +++ b/extensions/tags/src/Api/Controller/ListTagsController.php @@ -42,6 +42,6 @@ class ListTagsController extends AbstractCollectionController */ protected function data(ServerRequestInterface $request, Document $document) { - return $this->tags->all(); + return $this->tags->all($request->getAttribute('actor')); } }