<?php

// This array must always start on index 1.
$permissions = array(
// index=> array(permission, dependency, customer_allowed, description)
    1   => array('clients_view',                        0,  true, /*T*/'View customer data'/*/T*/),
    2   => array('clients_view_customers',              1,  false, /*T*/'View "Client List"'/*/T*/),
    3   => array('clients_view_domains',                1,  true, /*T*/'View packages and send welcome E-mail'/*/T*/),
    4   => array('clients_edit_customer_packages',      3,  false, /*T*/'Change package\'s status'/*/T*/),
    5   => array('clients_create_customer_packages',    4,  false, /*T*/'Create, edit, and delete packages'/*/T*/),
    6   => array('clients_edit_customers',              1,  true, /*T*/'Edit client profile'/*/T*/),
    7   => array('clients_activate',                    1,  false, /*T*/'Activate and change status of clients and packages'/*/T*/),
    8   => array('clients_edit_isorganization',         6,  true, /*T*/'Edit "is organization" field'/*/T*/),
    9   => array('clients_create_customers',            6,  false, /*T*/'Create and delete clients'/*/T*/),
   10   => array('clients_passphrase_cc',               6,  false, /*T*/'Validate customers their credit cards and view passphrased credit card numbers'/*/T*/),
   11   => array('clients_edit_credit_card',            1,  true, /*T*/'Edit client credit card'/*/T*/), 
   12   => array('clients_email_customers',             1,  false, /*T*/'Send E-mails to clients'/*/T*/),
   13   => array('clients_add_notes',                   1,  false, /*T*/'Add notes to customer'/*/T*/),
   14   => array('clients_delete_notes',                1,  false, /*T*/'Delete customer notes'/*/T*/),
   15   => array('clients_view_server_info',            1,  true, /*T*/'View "Server Info" tab in the dashboard'/*/T*/),
   16   => array('clients_view_eventlog',               1,  false, /*T*/'View Event Log for Customer and Package events'/*/T*/),
   17   => array('billing_view',                        1,  true, /*T*/'View active invoices'/*/T*/),
   18   => array('billing_archived_invoices',           17, true, /*T*/'View archived invoices'/*/T*/),
   19   => array('billing_unarchive_invoices',          18, true, /*T*/'Unarchive invoices'/*/T*/),
   29   => array('billing_uninvoiced_work',             17, false, /*T*/'View unInvoiced work'/*/T*/),
   30   => array('billing_create',                      17, false, /*T*/'Edit, delete and add invoices'/*/T*/),
   31   => array('billing_recurring_overview',          17, true, /*T*/'View "Recurring Overview"'/*/T*/),
   32   => array('billing_edit_recurring',              31, false, /*T*/'Edit recurring invoice'/*/T*/),
   33   => array('billing_delete_recurring',            31, false, /*T*/'Delete recurring charge'/*/T*/),
   34   => array('billing_mark_invoice_paid',           17, false, /*T*/'Mark invoice paid or unpaid'/*/T*/),
   35   => array('billing_send_invoices',               17, true, /*T*/'Send invoices and receipts'/*/T*/),
   36   => array('billing_show_billing_types',          17, false, /*T*/'View billing types'/*/T*/),
   37   => array('billing_edit_billing_types',          36, false, /*T*/'Manage billing types'/*/T*/),
   38   => array('billing_archive_invoice',             17, true, /*T*/'Archive invoices'/*/T*/),
   39   => array('billing_process_invoices',            17, false, /*T*/'Process invoices'/*/T*/),
   40   => array('billing_generate_invoices',           17, false, /*T*/'Generate pending invoices and run batch payments'/*/T*/),
   41   => array('billing_refund_invoices',             17, false, /*T*/'Refund invoices'/*/T*/),
   42   => array('billing_void_invoices',               17, false, /*T*/'Void invoices'/*/T*/),
   43   => array('clients_view_as_client',              1,  false, /*T*/'View as client'/*/T*/),
   44   => array('clients_edit_payment_type',           1,  true, /*T*/'Change payment method'/*/T*/),
   
);


?>
