summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2020-11-09 13:36:47 -0800
committerIvan Kohler <ivan@freeside.biz>2020-11-09 13:36:47 -0800
commit2d4b04cdc9c7db210398bf55abce5d5ee3a899e3 (patch)
treeaeaaf1f7baeb18e7d69fbe7f8d611c560c0be3bc /FS
parentc855c5c3137c69bba8e801d14fcbe6821accd2ce (diff)
ACL for hardware class config, RT#85057
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/AccessRight.pm2
-rw-r--r--FS/FS/access_right.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm
index ca3c46a46..160701361 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -414,6 +414,8 @@ tie my %rights, 'Tie::IxHash',
{ rightname=>'Alarm configuration' },
{ rightname=>'Alarm global configuration', global=>1 },
+ { rightname=>'Edit hardware classes and types' },
+
{ rightname=> 'Configure network monitoring', global=>1 },
#{ rightname=>'Edit employees', global=>1, },
diff --git a/FS/FS/access_right.pm b/FS/FS/access_right.pm
index 955817c80..442a871fe 100644
--- a/FS/FS/access_right.pm
+++ b/FS/FS/access_right.pm
@@ -258,6 +258,7 @@ sub _upgrade_data { # class method
'List customers' => 'Customers: Customer churn report',
'Edit customer' => 'Edit customer invoice terms',
'Financial reports' => 'Basic payment and refund reports',
+ 'Configuration' => 'Edit hardware clases and types',
);
# foreach my $old_acl ( keys %onetime ) {