ACL issue - OpenEMR allows user to add diagnosis from encounter screen and restricts the same in Issues

visolveemr wrote on Monday, October 03, 2016:

Hi All,

Greetings from Visolve,

When logging in as “Clinician”, the application restricts the user to add the Issues from the dashboard.

But the application still allows the same user to add the issus from the encounter screen.

Attached the relevant video showing the observation.

Please let us know if this is an expected behaviour or something that need to be fixed.

Thanks,
ViSolve OpenEMR Support Team
ViSolve

visolveemr wrote on Monday, October 03, 2016:

Attachment Video

visolveemr wrote on Wednesday, October 05, 2016:

Anyone had a chance to check over this observation… Is this a bug to be fixed?

Thanks,
ViSolve OpenEMR Support Team
ViSolve

cmswest wrote on Wednesday, October 05, 2016:

it seems like it’s a bug, this line should probablye be changed to this

    <?php if ((acl_check('patients','med','','write')) || (acl_check('patients','med','','addonly'))): ?>

visolveemr wrote on Wednesday, October 05, 2016:

Hi Stephen,
Thanks for it… We will work to fix it.

Thanks,
ViSolve OpenEMR Support Team
ViSolve