From e610963d4bad8b6d2b1ffd0f49b060036f47653b Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 6 May 2014 18:36:11 +0200 Subject: [PATCH] Fixed post scoring privileges --- src/Api/Jobs/ScorePostJob.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Api/Jobs/ScorePostJob.php b/src/Api/Jobs/ScorePostJob.php index 050df208..184de201 100644 --- a/src/Api/Jobs/ScorePostJob.php +++ b/src/Api/Jobs/ScorePostJob.php @@ -17,4 +17,9 @@ class ScorePostJob extends AbstractPostJob Privilege::ScorePost, Access::getIdentity($this->post->getUploader())); } + + public function requiresAuthentication() + { + return true; + } }