diff --git a/app/Transformers/Daemon/ApiKeyTransformer.php b/app/Transformers/Daemon/ApiKeyTransformer.php index e24bf7331..54aa37d6f 100644 --- a/app/Transformers/Daemon/ApiKeyTransformer.php +++ b/app/Transformers/Daemon/ApiKeyTransformer.php @@ -80,7 +80,7 @@ class ApiKeyTransformer extends TransformerAbstract $permissions = $subuser->getRelation('permissions')->pluck('permission')->toArray(); $mappings = Permission::getPermissions(true); - $daemonPermissions = []; + $daemonPermissions = ['s:console']; foreach ($permissions as $permission) { if (! is_null($mappings[$permission])) {