mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-16 21:33:44 +02:00
Corrected permissions to go with the more logical thought process
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user