Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Add viewables:read scope
Browse files Browse the repository at this point in the history
  • Loading branch information
ido567 authored May 23, 2017
1 parent 74fabb0 commit 57e94fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Auth/ScopeValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class ScopeValidator
'account:read',
'account:write',
'user-profile:read',
'viewables:read',
];

/**
Expand Down Expand Up @@ -56,4 +57,4 @@ public function isScopeInvalid($name)
{
return ! $this->isScopeValid($name);
}
}
}

0 comments on commit 57e94fe

Please sign in to comment.