fix asterisk_skip_clid import when there's bad data in the clid field, RT#20669
[freeside.git] / FS / FS / AccessRight.pm
index bcf3f64..90718b2 100644 (file)
@@ -108,12 +108,18 @@ tie my %rights, 'Tie::IxHash',
     'View customer',
     #'View Customer | View tickets',
     'Edit customer',
+    'Edit customer basics',
     'Edit customer tags',
     'Edit referring customer',
+    'Edit customer addresses',
+    'Edit customer billing information',
     'View customer history',
+    'Suspend customer',
+    'Unsuspend customer',
     'Cancel customer',
     '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
@@ -256,6 +262,7 @@ tie my %rights, 'Tie::IxHash',
   'Reporting/listing rights' => [
     'List customers',
     'List all customers',
+    'Advanced customer search',
     'List zip codes', #NEW
     'List invoices',
     'List packages',
@@ -269,17 +276,21 @@ tie my %rights, 'Tie::IxHash',
     'Financial reports',
     { rightname=> 'List inventory', global=>1 },
     { rightname=>'View email logs', global=>1 },
+    { rightname=>'View system logs' },
 
     'Download report data',
     'Services: Accounts',
+    'Services: Accounts: Advanced search',
     'Services: Domains',
     'Services: Certificates',
     'Services: Mail forwards',
     'Services: Virtual hosting services',
     'Services: Wireless broadband services',
+    'Services: Wireless broadband services: Advanced search',
     'Services: DSLs',
     'Services: Dish services',
     'Services: Hardware',
+    'Services: Hardware: Advanced search',
     'Services: Phone numbers',
     'Services: PBXs',
     'Services: Ports',
@@ -389,6 +400,7 @@ sub default_superuser_rights {
     'Delete refund', #?
     'Edit customer package dates',
     'Time queue',
+    'Usage: Time worked',
     'Redownload resolved batches',
     'Raw SQL',
     'Configuration download',
@@ -397,6 +409,7 @@ sub default_superuser_rights {
     'Edit usage',
     'Credit card void',
     'Echeck void',
+    'Edit customer package dates',
   );
 
   no warnings 'uninitialized';