diff --git a/application/Espo/Resources/defaults/config.php b/application/Espo/Resources/defaults/config.php index 73535bb55c..011a7a816f 100644 --- a/application/Espo/Resources/defaults/config.php +++ b/application/Espo/Resources/defaults/config.php @@ -277,5 +277,6 @@ return [ 'oidcUsernameClaim' => 'sub', 'oidcFallback' => true, 'oidcScopes' => ['profile', 'email', 'phone'], + 'listViewSettingsDisabled' => false, 'isInstalled' => false, ]; diff --git a/client/src/views/record/list.js b/client/src/views/record/list.js index d3a1b16886..6a0e4eb3e8 100644 --- a/client/src/views/record/list.js +++ b/client/src/views/record/list.js @@ -3386,7 +3386,10 @@ class ListRecordView extends View { return; } - if (!this.getMetadata().get(`scopes.${this.entityType}.object`)) { + if ( + !this.getMetadata().get(`scopes.${this.entityType}.object`) || + this.getConfig().get('listViewSettingsDisabled') + ) { return; }