Merge branch 'main' of github.com:cerebrate-project/cerebrate
commit
55695fc09b
|
@ -367,7 +367,7 @@ class CerebrateSettingsProvider extends BaseSettingsProvider
|
||||||
true => __('Debug On'),
|
true => __('Debug On'),
|
||||||
],
|
],
|
||||||
'test' => function ($value, $setting, $validator) {
|
'test' => function ($value, $setting, $validator) {
|
||||||
$validator->range('value', [0, 2]);
|
$validator->range('value', [0, 1]);
|
||||||
return testValidator($value, $validator);
|
return testValidator($value, $validator);
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
'label' => 'Site admin privilege (instance management)'
|
'label' => 'Site admin privilege (instance management)'
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
'field' => 'perm_community',
|
'field' => 'perm_community_admin',
|
||||||
'type' => 'checkbox',
|
'type' => 'checkbox',
|
||||||
'label' => 'Community admin privilege (data admin)'
|
'label' => 'Community admin privilege (data admin)'
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue