Corrected permissions to go with the more logical thought process

This commit is contained in:
Dane Everitt 2017-04-09 15:35:49 -04:00
parent 820d2bf172
commit a2a4ab05c8
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
9 changed files with 20 additions and 20 deletions

View file

@ -76,7 +76,7 @@ class ServerVariableTransformer extends TransformerAbstract
*/
public function includeParent(ServerVariable $variable)
{
if ($this->request && ! $this->request->apiKeyHasPermission('server-view')) {
if ($this->request && ! $this->request->apiKeyHasPermission('option-view')) {
return;
}