File tree Expand file tree Collapse file tree 3 files changed +1
-12
lines changed
includes/html/pages/device Expand file tree Collapse file tree 3 files changed +1
-12
lines changed Original file line number Diff line number Diff line change 44use LibreNMS \Config ;
55use Symfony \Component \Process \Process ;
66
7- if (Auth::user ()->hasGlobalAdmin () || (Auth:: user ()-> hasGlobalRead () && Config:: get ( ' oxidized.read_only_configs ' ) == true ) ) {
7+ if (Auth::user ()->hasGlobalAdmin ()) {
88 if (! empty ($ rancid_file )) {
99 echo '<div style="clear: both;"> ' ;
1010
Original file line number Diff line number Diff line change 12211221 'default_group ' => [
12221222 'description ' => 'Set the default group returned ' ,
12231223 ],
1224- 'read_only_configs ' => [
1225- 'description ' => 'Allow read only user config access ' ,
1226- 'help ' => 'When true all read only users are able to access Oxidized backups ' ,
1227- ],
12281224 'ignore_groups ' => [
12291225 'description ' => 'Do not backup these Oxidized groups ' ,
12301226 'help ' => 'Groups (set via Variable Mapping) excluded from being sent to Oxidized ' ,
Original file line number Diff line number Diff line change 51245124 "order" : 0 ,
51255125 "type" : " boolean"
51265126 },
5127- "oxidized.read_only_configs" : {
5128- "default" : false ,
5129- "group" : " external" ,
5130- "section" : " oxidized" ,
5131- "order" : 3 ,
5132- "type" : " boolean"
5133- },
51345127 "oxidized.features.versioning" : {
51355128 "default" : false ,
51365129 "group" : " external" ,
You can’t perform that action at this time.
0 commit comments