Skip to content

Commit e312021

Browse files
authored
Revert "Option for read-only user access Oxidized configs (librenms#15951)" (librenms#17445)
This reverts commit 8409222.
1 parent 9a20f14 commit e312021

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

includes/html/pages/device/showconfig.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use LibreNMS\Config;
55
use 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

lang/en/settings.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,10 +1221,6 @@
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',

misc/config_definitions.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5124,13 +5124,6 @@
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",

0 commit comments

Comments
 (0)