X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=2783adac2139ee6e553002033836c9a0bd3aeb13;hb=65f3ee811a83be47ef02e0919ec122ad4083ccbd;hp=d7e5a17e3640663e085a948a9c62f29f37105d96;hpb=05eb6fd62056682d8760b85ced91dabd33357a3b;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index d7e5a17e3..2783adac2 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -118,7 +118,6 @@ tie my %rights, 'Tie::IxHash', 'Complimentary customer', #aka users-allow_comp 'Merge customer', 'Merge customer across agents', - { rightname=>'Delete customer', desc=>"Enable customer deletions. Be very careful! Deleting a customer will remove all traces that this customer ever existed! It should probably only be used when auditing a legacy database. Normally, you cancel all of a customer's packages if they cancel service." }, #aka. deletecustomers 'Bill customer now', #NEW 'Bulk send customer notices', #NEW { rightname=>'View customers of all agents', global=>1 }, @@ -303,6 +302,7 @@ tie my %rights, 'Tie::IxHash', 'Services: PBXs', 'Services: Ports', 'Services: Mailing lists', + 'Services: Alarm services', 'Services: External services', 'Usage: RADIUS sessions', 'Usage: Call Detail Records (CDRs)', @@ -345,6 +345,8 @@ tie my %rights, 'Tie::IxHash', 'Edit advertising sources', { rightname=>'Edit global advertising sources', global=>1 }, + 'Edit sales people', + 'Edit package definitions', { rightname=>'Edit global package definitions', global=>1 }, @@ -405,7 +407,6 @@ Most (but not all) right names. sub default_superuser_rights { my $class = shift; my %omit = map { $_=>1 } ( - 'Delete customer', 'Delete invoices', 'Delete payment', 'Delete credit', #?