diff options
author | Ivan Kohler <ivan@freeside.biz> | 2020-11-09 13:36:41 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2020-11-09 13:36:41 -0800 |
commit | 20f03d52cc6c930f610c0b4466eeeeda54fdbb40 (patch) | |
tree | 899d739f54ab6d04ac455d28f2d8b01a29a31a80 /FS | |
parent | 4d4171d7ad39732b07839d90e1d74b9f84772d45 (diff) |
ACL for hardware class config, RT#85057
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/AccessRight.pm | 2 | ||||
-rw-r--r-- | FS/FS/access_right.pm | 1 |
2 files changed, 3 insertions, 0 deletions
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 ) { |