From 5670b64c3288c1c4e60938860bc300da5b4b9ae1 Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Sun, 14 Sep 2025 05:29:30 -0400 Subject: [PATCH] Minor fixes following CFM-338 --- app/plugins/CoreServer/src/Model/Table/MatchServersTable.php | 2 +- app/plugins/CoreServer/src/Model/Table/Oauth2ServersTable.php | 2 +- app/src/Model/Table/JobsTable.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/plugins/CoreServer/src/Model/Table/MatchServersTable.php b/app/plugins/CoreServer/src/Model/Table/MatchServersTable.php index 35ba8e4cc..873c73745 100644 --- a/app/plugins/CoreServer/src/Model/Table/MatchServersTable.php +++ b/app/plugins/CoreServer/src/Model/Table/MatchServersTable.php @@ -59,7 +59,7 @@ public function initialize(array $config): void { $this->setTableType(\App\Lib\Enum\TableTypeEnum::Configuration); // Define associations - // XXX this is defined in HttpServersTable + // this is defined in HttpServersTable // $this->belongsTo('Servers'); $this->hasMany('CoreServer.MatchServerAttributes') ->setDependent(true) diff --git a/app/plugins/CoreServer/src/Model/Table/Oauth2ServersTable.php b/app/plugins/CoreServer/src/Model/Table/Oauth2ServersTable.php index fb2a0306f..f31ce438c 100644 --- a/app/plugins/CoreServer/src/Model/Table/Oauth2ServersTable.php +++ b/app/plugins/CoreServer/src/Model/Table/Oauth2ServersTable.php @@ -54,7 +54,7 @@ public function initialize(array $config): void { $this->setTableType(\App\Lib\Enum\TableTypeEnum::Configuration); // Define associations - // XXX this is defined in HttpServersTable + // this is defined in HttpServersTable // $this->belongsTo('Servers'); $this->setDisplayField('hostname'); diff --git a/app/src/Model/Table/JobsTable.php b/app/src/Model/Table/JobsTable.php index 675cc0c8b..15f9012a8 100644 --- a/app/src/Model/Table/JobsTable.php +++ b/app/src/Model/Table/JobsTable.php @@ -112,7 +112,7 @@ public function initialize(array $config): void { ], // Actions that operate over a table (ie: do not require an $id) 'table' => [ - 'add' => ['platformAdmin', 'coAdmin'], + 'add' => false, // generic add of jobs via the UI is not yet supported 'index' => ['platformAdmin', 'coAdmin'] ], 'readOnly' => ['cancel'],