summaryrefslogtreecommitdiff
path: root/FS/FS
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2020-11-09 13:36:44 -0800
committerIvan Kohler <ivan@freeside.biz>2020-11-09 13:36:44 -0800
commita0cca72a0fd0fdd541f39946ce06df59a96a068e (patch)
treeac194c85cb3788210c8895a90c62530c1c207688 /FS/FS
parent4a4722fbb99c7db7f68fd4a1078ae67358f5d2cb (diff)
ACL for hardware class config, RT#85057
Diffstat (limited to 'FS/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 5aeb185..cd4d8b9 100644
--- a/FS/FS/AccessRight.pm
+++ b/FS/FS/AccessRight.pm
@@ -416,6 +416,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 87337d5..c1e01f1 100644
--- a/FS/FS/access_right.pm
+++ b/FS/FS/access_right.pm
@@ -264,6 +264,7 @@ sub _upgrade_data { # class method
'Edit customer note' => 'Delete customer note',
'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 ) {