Fixed post scoring privileges
This commit is contained in:
parent
c8e9804a15
commit
e610963d4b
1 changed files with 5 additions and 0 deletions
|
@ -17,4 +17,9 @@ class ScorePostJob extends AbstractPostJob
|
|||
Privilege::ScorePost,
|
||||
Access::getIdentity($this->post->getUploader()));
|
||||
}
|
||||
|
||||
public function requiresAuthentication()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue