X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=4e5703203b935df0e24222186433734d19eee549;hb=3d88896c03e09483714c84a06106233081800f70;hp=41ca954ac6e6f4bd3297e197289982723ecbaf87;hpb=0683f451ea789809e64d183ef7fde24790157fe8;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 41ca954ac..4e5703203 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -151,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 ], ### @@ -230,6 +233,7 @@ tie my %rights, 'Tie::IxHash', 'Refund Echeck payment', 'Delete refund', #NEW 'Add on-the-fly credit reason', #NEW + 'Add on-the-fly refund reason', #NEW ], ### @@ -295,6 +299,7 @@ tie my %rights, 'Tie::IxHash', 'Services: Wireless broadband services: Advanced search', 'Services: DSLs', 'Services: Cable subscribers', + 'Services: Conferencing', 'Services: Dish services', 'Services: Hardware', 'Services: Hardware: Advanced search', @@ -304,12 +309,13 @@ tie my %rights, 'Tie::IxHash', 'Services: Ports', 'Services: Mailing lists', 'Services: Alarm services', + 'Services: Video', 'Services: External services', 'Usage: RADIUS sessions', 'Usage: Call Detail Records (CDRs)', 'Usage: Unrateable CDRs', 'Usage: Time worked', - { rightname=>'Employees: Commission Report', global=>1 }, + #gone in 4.x as a distinct ACL (for now?) { rightname=>'Employees: Commission Report', global=>1 }, { rightname=>'Employees: Audit Report', global=>1 }, #{ rightname => 'List customers of all agents', global=>1 }, @@ -350,9 +356,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 }, @@ -426,7 +442,7 @@ 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 ); no warnings 'uninitialized';