From 20f03d52cc6c930f610c0b4466eeeeda54fdbb40 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 9 Nov 2020 13:36:41 -0800 Subject: ACL for hardware class config, RT#85057 --- FS/FS/AccessRight.pm | 2 ++ FS/FS/access_right.pm | 1 + 2 files changed, 3 insertions(+) (limited to 'FS') diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 701f7724a..5badba76c 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 155da739e..226c81efb 100644 --- a/FS/FS/access_right.pm +++ b/FS/FS/access_right.pm @@ -261,6 +261,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 ) { -- cgit v1.2.1