X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=04106dcaf40b95e26a7c0a6379359061323bfab1;hb=fa868107440f645205e7943fd370fb48e677f091;hp=a5eef2f2fe89a13b303bc28b2d60292b81f41142;hpb=1bea3acc9951c272bd9f5f872d3262c9380e067f;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index a5eef2f2f..04106dcaf 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -93,11 +93,9 @@ tie my %rights, 'Tie::IxHash', 'New prospect', 'View prospect', 'Edit prospect', - 'List prospects', 'Edit contact', #! #'New contact', #'View customer contacts', - #'List contacts', 'Generate quotation', ], @@ -154,6 +152,7 @@ tie my %rights, 'Tie::IxHash', 'Waive setup fee', #NEW 'View appointments', #NEWNEW 'Make appointment', + 'View package definition costs', #NEWNEW ], ### @@ -219,6 +218,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 @@ -268,6 +268,8 @@ tie my %rights, 'Tie::IxHash', # report/listing rights... ### 'Reporting/listing rights' => [ + 'List prospects', + 'List contacts', 'List customers', 'List all customers', 'Advanced customer search', @@ -309,6 +311,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', @@ -357,6 +360,9 @@ tie my %rights, 'Tie::IxHash', '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, }, @@ -437,7 +443,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';