From 57e94fe170afb613919488e3163edfa5f685037c Mon Sep 17 00:00:00 2001 From: Ido Bublil Date: Tue, 23 May 2017 11:55:10 +0300 Subject: [PATCH] Add viewables:read scope --- lib/Auth/ScopeValidator.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Auth/ScopeValidator.php b/lib/Auth/ScopeValidator.php index 8655037..59595c2 100644 --- a/lib/Auth/ScopeValidator.php +++ b/lib/Auth/ScopeValidator.php @@ -17,6 +17,7 @@ class ScopeValidator 'account:read', 'account:write', 'user-profile:read', + 'viewables:read', ]; /** @@ -56,4 +57,4 @@ public function isScopeInvalid($name) { return ! $this->isScopeValid($name); } -} \ No newline at end of file +}