mike-h30 wrote on Wednesday, January 30, 2008:
Rod,
I looked at the code in the acl_setup.php script (below) and it appears that the ACO sections and ARO groups are supposed to be created by the script. I ran the script and received the acknowlegement "OpenEMR ACL Setup All done!". However the GACL db and GUI does not have these items. I am running Apache2 (not sure if that makes a difference. I did have to use the command htpasswd2 instead of htpasswd for creating the password file). I am not sure what I else I need to check.
// Create the ACO sections. Every ACO must have a section.
//
$gacl->add_object_section(‘Accounting’ , ‘acct’ , 10, 0, ‘ACO’);
$gacl->add_object_section(‘Administration’, ‘admin’ , 10, 0, ‘ACO’);
$gacl->add_object_section(‘Encounters’ , ‘encounters’ , 10, 0, ‘ACO’);
$gacl->add_object_section(‘Patients’ , ‘patients’ , 10, 0, ‘ACO’);
$gacl->add_object_section(‘Squads’ , ‘squads’ , 10, 0, ‘ACO’);
$gacl->add_object_section(‘Sensitivities’ , ‘sensitivities’, 10, 0, ‘ACO’);
// Create Accounting ACOs.
//
$gacl->add_object(‘acct’, ‘Billing (write optional)’ , ‘bill’ , 10, 0, ‘ACO’);
$gacl->add_object(‘acct’, ‘EOB Data Entry’ , ‘eob’ , 10, 0, ‘ACO’);
$gacl->add_object(‘acct’, ‘Financial Reporting - my encounters’, ‘rep’ , 10, 0, ‘ACO’);
$gacl->add_object(‘acct’, ‘Financial Reporting - anything’ , ‘rep_a’, 10, 0, ‘ACO’);
// Create Administration ACOs.
//
$gacl->add_object(‘admin’, ‘Superuser’ , ‘super’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Calendar Settings’ , ‘calendar’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Database Reporting’ , ‘database’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Forms Administration’ , ‘forms’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Practice Settings’ , ‘practice’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Superbill Codes Administration’ , ‘superbill’, 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Users/Groups/Logs Administration’, ‘users’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Batch Communication Tool’ , ‘batchcom’ , 10, 0, ‘ACO’);
$gacl->add_object(‘admin’, ‘Language Interface Tool’ , ‘language’ , 10, 0, ‘ACO’);
// Create ACOs for encounters.
//
$gacl->add_object(‘encounters’, ‘Authorize - my encounters’ , ‘auth’ , 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Authorize - any encounters’ , ‘auth_a’ , 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Coding - my encounters (write,wsome optional)’ , ‘coding’ , 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Coding - any encounters (write,wsome optional)’ , ‘coding_a’, 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Notes - my encounters (write,addonly optional)’ , ‘notes’ , 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Notes - any encounters (write,addonly optional)’ , ‘notes_a’ , 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Fix encounter dates - any encounters’ , ‘date_a’ , 10, 0, ‘ACO’);
$gacl->add_object(‘encounters’, ‘Less-private information (write,addonly optional)’, ‘relaxed’ , 10, 0, ‘ACO’);
// Create ACOs for patients.
//
$gacl->add_object(‘patients’, ‘Appointments (write optional)’ , ‘appt’ , 10, 0, ‘ACO’);
$gacl->add_object(‘patients’, ‘Demographics (write,addonly optional)’ , ‘demo’ , 10, 0, ‘ACO’);
$gacl->add_object(‘patients’, ‘Medical/History (write,addonly optional)’, ‘med’ , 10, 0, ‘ACO’);
$gacl->add_object(‘patients’, ‘Transactions (write optional)’ , ‘trans’, 10, 0, ‘ACO’);
$gacl->add_object(‘patients’, ‘Documents (write,addonly optional)’ , ‘docs’ , 10, 0, ‘ACO’);
$gacl->add_object(‘patients’, ‘Patient Notes (write,addonly optional)’ , ‘notes’, 10, 0, ‘ACO’);
// Create ACOs for sensitivities.
//
$gacl->add_object(‘sensitivities’, ‘Normal’, ‘normal’, 10, 0, ‘ACO’);
$gacl->add_object(‘sensitivities’, ‘High’ , ‘high’ , 20, 0, ‘ACO’);
// Create ARO groups.
//
$users = $gacl->add_group(‘users’, ‘OpenEMR Users’ , 0 , ‘ARO’);
$admin = $gacl->add_group(‘admin’, ‘Administrators’, $users, ‘ARO’);
$clin = $gacl->add_group(‘clin’ , ‘Clinicians’ , $users, ‘ARO’);
$doc = $gacl->add_group(‘doc’ , ‘Physicians’ , $users, ‘ARO’);
$front = $gacl->add_group(‘front’, ‘Front Office’ , $users, ‘ARO’);
$back = $gacl->add_group(‘back’ , ‘Accounting’ , $users, ‘ARO’);