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

Commit 57e94fe

Browse files
authored
Add viewables:read scope
1 parent 74fabb0 commit 57e94fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Auth/ScopeValidator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class ScopeValidator
1717
'account:read',
1818
'account:write',
1919
'user-profile:read',
20+
'viewables:read',
2021
];
2122

2223
/**
@@ -56,4 +57,4 @@ public function isScopeInvalid($name)
5657
{
5758
return ! $this->isScopeValid($name);
5859
}
59-
}
60+
}

0 commit comments

Comments
 (0)