Corrected permissions to go with the more logical thought process
This commit is contained in:
parent
820d2bf172
commit
a2a4ab05c8
9 changed files with 20 additions and 20 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue