1
0
mirror of https://github.com/flarum/core.git synced 2025-08-15 12:54:47 +02:00

Only list tags available to current user

This commit is contained in:
Franz Liedke
2016-04-15 21:00:43 +09:00
parent 1b23e44b06
commit 14eb7c97d0

View File

@@ -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'));
}
}