Question on clinician access level

avantsys wrote on Thursday, April 19, 2012:

OK, here’s a quick and dirty question:

How can we give a clinician the power to delete transactions? As it is, only the administrator can do this.

We tried the access control list, but we couldn’t find something relevant. The condition that controls this is:

if (acl_check(‘admin’, ‘super’))

Thank you.

bradymiller wrote on Saturday, April 21, 2012:

Hi,

Here’s a listing of the access controls on the wiki:
http://www.open-emr.org/wiki/index.php/Access_Controls_Listing
(still a work in progress, but it lists the titles along with the group and label…), so this is the entry for ‘admin’,‘super’:
http://www.open-emr.org/wiki/index.php/Access_Controls_Listing#Superuser_-_can_delete_patients.2C_encounters.2C_issues_.28super.29

This is the entry for admin to do things likes deleting users/transactions. The options to give the clinician the power to do this include:
1. Placing clinician in Aministrator group (in Administration->ACL)
2. Placing the ‘Superuser - can delete patients, encounters, issues’ ACO into the Clinician group in (Administration->ACL)
(of course, both of these options will then also give the Clinicians a lot of other admin permissions.
3. Or could change the acl_check to work for both ‘admin’,‘super’ and another ACO already in the clinician groups (such as ‘patients’,‘trans’).

-brady
OpenEMR