X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FAccessRight.pm;h=5194bd4d97f05525dcf4f06db77d18ad24f1a8c3;hb=16a91fd700e3c3e5ec051d2c3692275f9389aab4;hp=888a6865b30d11689de43aba11fdd04f6bba15ef;hpb=264ad081e68057c7bc30a8b2ad741b783e1342ff;p=freeside.git diff --git a/FS/FS/AccessRight.pm b/FS/FS/AccessRight.pm index 888a6865b..5194bd4d9 100644 --- a/FS/FS/AccessRight.pm +++ b/FS/FS/AccessRight.pm @@ -78,7 +78,13 @@ assigned to users and/or groups. #well, this is what we have for now. could be ordered better, could be lots of # things better, but this ACL system does 99% of what folks need and the UI # isn't *that* bad +# +# okay, well it *really* needs some catgorization in the UI. badly. @rights = ( + +## +# basic customer rights +## 'New customer', 'View customer', #'View Customer | View tickets', @@ -86,7 +92,13 @@ assigned to users and/or groups. 'Cancel customer', 'Complimentary customer', #aka users-allow_comp 'Delete customer', #aka. deletecustomers #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 customers' packages if they cancel service. + 'Add customer note', #NEW + 'Edit customer note', #NEW +### +# customer package rights +### + 'View customer packages', #NEW 'Order customer package', 'One-time charge', 'Change customer package', @@ -97,14 +109,30 @@ assigned to users and/or groups. 'Unsuspend customer package', 'Cancel customer package immediately', 'Cancel customer package later', - + 'Add on-the-fly cancel reason', #NEW + 'Add on-the-fly suspend reason', #NEW + +### +# customer service rights +### + 'Edit usage', #NEW + 'View customer services', #NEW 'Provision customer service', + 'Recharge customer service', #NEW 'Unprovision customer service', 'View/link unlinked services', #not agent-virtualizable without more work +### +# customer invoice/financial info rights +### 'View invoices', + 'View customer tax exemptions', #yow + 'View customer batched payments', #NEW +### +# customer payment rights +### 'Post payment', 'Post payment batch', 'Unapply payment', #aka. unapplypayments Enable "unapplication" of unclosed payments. @@ -113,29 +141,54 @@ assigned to users and/or groups. 'Delete payment', #aka. deletepayments - Enable deletion of unclosed payments. Be very careful! Only delete payments that were data-entry errors, not adjustments. Optionally specify one or more comma-separated email addresses to be notified when a payment is deleted. + 'Delete refund', #NEW + +### +# customer credit rights +### 'Post credit', #'Apply credit', 'Unapply credit', #aka unapplycredits Enable "unapplication" of unclosed credits. 'Delete credit', #aka. deletecredits Enable deletion of unclosed credits. Be very careful! Only delete credits that were data-entry errors, not adjustments. Optionally specify one or more comma-separated email addresses to be notified when a credit is deleted. +### +# customer voiding rights.. +### 'Credit card void', #aka. cc-void #Enable local-only voiding of echeck payments in addition to refunds against the payment gateway 'Echeck void', #aka. echeck-void #Enable local-only voiding of echeck payments in addition to refunds against the payment gateway + 'Regular void', 'Unvoid', #aka. unvoid #Enable unvoiding of voided payments +### +# report/listing rights... +### 'List customers', - #'List zip codes', + 'List zip codes', #NEW 'List invoices', 'List packages', 'List services', - 'List rating data', - + 'List rating data', # 'Usage reports', + 'Billing event reports', 'Financial reports', - 'Job queue', # these are not currently agent-virtualized - 'Import', # - 'Export', # - +### +# misc rights +### + 'Job queue', # these are not currently agent-virtualized + 'Process batches', # NEW + 'Reprocess batches', # NEW + 'Import', # + 'Export', # + +### +# misc misc rights +### + 'Raw SQL', #NEW + +### +# setup/config rights +### 'Edit advertising sources', 'Edit global advertising sources',