<?php

// This array must always start on index 1.
$permissions = array(
// index=> array(permission, dependency, customer_allowed, description, companyFeature (optional))
    1   => array('clients_view',                        0,  true, /*T*/'View customer data'/*/T*/, 'accounts'),
    2   => array('clients_view_customers',              1,  false, /*T*/'View "Client List"'/*/T*/, 'accounts'),
    3   => array('clients_view_domains',                1,  true, /*T*/'View packages'/*/T*/, 'products'),
    4   => array('clients_edit_customer_packages',      3,  false, /*T*/'Edit customer packages'/*/T*/, 'products'),
    5   => array('clients_create_customer_packages',    4,  false, /*T*/'Create and delete packages'/*/T*/, 'products'),
    6   => array('clients_edit_customers',              1,  true, /*T*/'Edit client profile'/*/T*/, 'accounts'),
    9   => array('clients_create_customers',            6,  false, /*T*/'Create and delete clients'/*/T*/, 'accounts'),
   10   => array('clients_passphrase_cc',               6,  false, /*T*/'Validate customers their credit cards and view passphrased credit card numbers'/*/T*/, 'billing'),
   11   => array('clients_edit_credit_card',            1,  true, /*T*/'Edit client credit card'/*/T*/, 'billing'), 
   12   => array('clients_email_customers',             1,  false, /*T*/'Send E-mails to clients'/*/T*/, 'accounts'),
   13   => array('clients_add_notes',                   1,  false, /*T*/'Add notes to customer'/*/T*/, 'accounts'),
   14   => array('clients_delete_notes',                1,  false, /*T*/'Delete customer notes'/*/T*/, 'accounts'),
   15   => array('clients_view_server_info',            1,  true, /*T*/'View "Server Info" tab in the dashboard'/*/T*/, 'products'),
   16   => array('clients_view_eventlog',               1,  false, /*T*/'View Event Log for Customer and Package events'/*/T*/, 'accounts'),   
   43   => array('clients_view_as_client',              1,  false, /*T*/'View as client'/*/T*/, 'accounts'),
   44   => array('clients_edit_payment_type',           1,  true, /*T*/'Change payment method'/*/T*/, 'billing'),
   48   => array('clients_edit_account_credit',         1,  false, /*T*/'Edit "credit balance" field'/*/T*/, 'billing'),
   
);


?>
