X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=24942419d3cad20251c7c126f3ce0e486c3ac9b3;hb=f7c686b2da39bc975b6a197b2879aa7a6fa4fa10;hp=0d8795bb86649d59ccd7fea340b44ffe475317b1;hpb=61a84d1b2dc076e80dec0b96bc9867ad4215e374;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 0d8795bb8..24942419d 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -93,12 +93,11 @@ tie my %rights, 'Tie::IxHash', 'New prospect', 'View prospect', 'Edit prospect', - 'List prospects', 'Edit contact', #! #'New contact', #'View customer contacts', - #'List contacts', 'Generate quotation', + 'Disable quotation', ], ### @@ -152,6 +151,9 @@ tie my %rights, 'Tie::IxHash', 'Edit customer package comments', #NEW 'Qualify service', #NEW 'Waive setup fee', #NEW + 'View appointments', #NEWNEW + 'Make appointment', + 'View package definition costs', #NEWNEW ], ### @@ -217,6 +219,7 @@ tie my %rights, 'Tie::IxHash', ### 'Customer credit and refund rights' => [ 'Post credit', + { rightname=>'Backdate credit', desc=>'Enable credits to be posted for days other than today.' }, 'Credit line items', #NEWNEWNEW 'Apply credit', #NEWNEW { rightname=>'Unapply credit', desc=>'Enable "unapplication" of unclosed credits.' }, #aka unapplycredits @@ -266,6 +269,8 @@ tie my %rights, 'Tie::IxHash', # report/listing rights... ### 'Reporting/listing rights' => [ + 'List prospects', + 'List contacts', 'List customers', 'List all customers', 'Advanced customer search', @@ -307,6 +312,7 @@ tie my %rights, 'Tie::IxHash', 'Services: Alarm services', 'Services: External services', 'Usage: RADIUS sessions', + 'Services: Circuits', 'Usage: Call Detail Records (CDRs)', 'Usage: Unrateable CDRs', 'Usage: Time worked', @@ -351,9 +357,19 @@ tie my %rights, 'Tie::IxHash', 'Edit package definitions', { rightname=>'Edit global package definitions', global=>1 }, - + 'Edit package definition costs', + 'Bulk edit package definitions', + 'Edit FCC report configuration', + { rightname => 'Edit FCC report configuration for all agents', global=>1 }, + + 'Edit CDR rates', + #{ rightname=>'Edit global CDR rates', global=>1, }, + + 'Edit fee definitions', + { rightname=>'Edit global fee definitions', global=>1 }, + 'Edit billing events', { rightname=>'Edit global billing events', global=>1 }, @@ -428,7 +444,8 @@ sub default_superuser_rights { 'Edit usage', 'Credit card void', 'Echeck void', - 'Edit customer package dates', + 'Void invoices',#people are overusing this when credits are more appropriate + 'Backdate credit', ); no warnings 'uninitialized';