Permissions issue in navigation views

rayaz wrote on Wednesday, March 18, 2009:

Hi

Another issue, I’ve assigned my receptionist front office permissions. In the old style navigation menu layout she cannot access encounters or history and therefore cannot access the prescriptions as well. But using the two buttons or tree navigation menu, though she cannot access history or encounters, she can access and change prescriptions! Anyway to fix that?

Rayaz

cfapress wrote on Thursday, March 19, 2009:

Riaz,

Good catch!  There was no security check for this in the radio/tree navigation. I’ve just added it to the CVS code. Now patient prescriptions and prescription reports require a security level of “Patient->Meds” which is a standard setting for practitioners.

Jason

rayaz wrote on Thursday, March 19, 2009:

Jason,

If you just changed the left_nav.php in /openemr/interface/main then the issue is fixed. But then you cannot access Rx from the navigation menu. So you cannot print, change prescriptions at all. If there are other files that you have changed please let me know.

Thanks

Rayaz

rayaz wrote on Friday, March 20, 2009:

Jason,

It seems you just changed the lef_nav.php. I use the old style layout and like the functionality. I can create a new patient and have a new appointment made within the same screen (you fixed that). When I am in an active encounter, I can easily know which encounter it is because the encounter date is displayed prominently on the right side of the bar that shows the name, DOB and age of the active patient (had the DOB and age bit fixed too). But the reason I want to use the left nav pane is the extended options, like being able to directly access Rx for prescription printing, modification etc. Now with the security bit this option is gone and therefore is less useful for me.

I hope I made myself clear.

Regards

Rayaz

cfapress wrote on Friday, March 20, 2009:

Hi Rayaz,

It appears I made a typo in the bug fix. I’ve just now corrected it and committed the code to CVS.

Sorry about that.

Try it out once again and let me know if it works as you expect.

Jason

rayaz wrote on Friday, March 20, 2009:

Hi Jason,

Thanks for the quick fixes. Now works pretty! Finally I can use my beloved tree view and keep my receptionist happy too!

Now the last bit, i.e; when I list encounters and chose one to edit I easily know what encounter  I am on as the encounter date is displayed prominently on the right side of the bar that shows the name, DOB and age of the active patient in the old layout. Could we have that fixed please?

Regards

Rayaz