Access not allowed

nursejeff wrote on Thursday, September 13, 2012:

Since upgrading to 4.1.1, my staff are not able to schedule patients.  They are getting the error of “Access not allowed” on a pop up solid white window. 

Please help.

Jeff Guillory
NP Health Clinic

nursejeff wrote on Thursday, September 13, 2012:

I did check the ACL, she has “Front Office” privileges and “Appointments” is in the Active column.

Jeff

nursejeff wrote on Friday, September 14, 2012:

This is odd, now I, as the administrator, cannot make appointments.  It’s odd because when we first discovered this problem, my staff had the problem but I still could, but now I can’t either.

This is a big problem though, obviously, we need to be able to make appointments.

Please help.

Jeff

blankev wrote on Friday, September 14, 2012:

Does the Admin have Calendar rights in Administration => User?

nursejeff wrote on Friday, September 14, 2012:

No, it doesn’t. It’s grayed out.  So it the rest of the staff. 

???

Jeff

nursejeff wrote on Friday, September 14, 2012:

If I click on the “provider” box, in admin, the gray box in calender turns white and can be checked.

Calender under my user is checked but I still can’t make an appointment.

Jeff

bradymiller wrote on Friday, September 14, 2012:

Hi Jeff,
The the acl script reversion fix this (as it fixed the backup authorization error?)
-brady
OpenEMR

nursejeff wrote on Friday, September 14, 2012:

No Brady, the acl revision that fixed the backup authorization error did not fix the scheduling error that still persist.

Jeff

nursejeff wrote on Friday, September 14, 2012:

I only changed that one line of code on line 115.  Were there more fixes that needed to be made? 

Jeff

nursejeff wrote on Friday, September 14, 2012:

Do I need to replace the ACL file with a backup from the previous version?

Jeff

ondigit wrote on Saturday, September 15, 2012:

Hello,

I downloaded and applied the latest patch but i am still getting Access not allowed error.

I have upgraded openemr 4.0.13 and upgraded following each step to  v4.1.1 (2) , but I am still getting the same,any help greatly appreciated.

Thanks

bradymiller wrote on Saturday, September 15, 2012:

Hi,

Where are you seeing the Access not allowed?

And to ensure you have the patch installed right, what code do you have at line 114 of the library/acl.inc file:
return $gacl_object->acl_check($section, $value, $section_aro_value, $user);
OR
return $gacl_object->acl_return_value($section, $value, $section_aro_value, $user);

-brady
OpenEMR

ondigit wrote on Saturday, September 15, 2012:

Hello Brady,

Thanks for your reply.

Where are you seeing the Access not allowed?
==/interface/main/calendar/add_edit_event.php

And to ensure you have the patch installed right,
== Yes I have uploaded files twice and then I run sql_patch.php

what code do you have at line 114 of the library/acl.inc file:

== I am seeing:
return $gacl_object->acl_check($section, $value, $section_aro_value, $user);

Thanks again.
Jinendra

anonymous wrote on Saturday, September 15, 2012:

Hi, i’m testing openemr, and i’ve patched today to 4.1.1 from 4.1.0. I’ve the same problem: when i click into calendar in a time for insert a new appointment i see a popup windows say “Access no allowed”.
I’ve tryed with user Admin, mydrtest1, and user with front office ACL permitted.

Sorry for my bad english, i’m waiting for your help

anonymous wrote on Saturday, September 15, 2012:

Hi,
i’ve checked your php code, and i’ve a solution:

In file openemr/interface/main/calendar/add_edit_event.php line 36 i see:

if ($my_permission !== ‘write’ && $my_permission !== ‘wsome’)

I think the correct syntax is:

if ($my_permission != ‘write’ && $my_permission != ‘wsome’)

maybe it’s ok…

nursejeff wrote on Saturday, September 15, 2012:

lullu,

Did the above change fix the problem?

Jeff

anonymous wrote on Saturday, September 15, 2012:

Hi Jeff, yes my change solve problem, now i’ve tested in my installation.

nursejeff wrote on Saturday, September 15, 2012:

Thank you lullu,

This did fix the problem for me.

Thank you so much.

Jeff
NP Health Clinic

anonymous wrote on Saturday, September 15, 2012:

I’m happy for you, luckily it was a small problem!
I am a system administrator and am considering installing OpenEMR in a medical center in Sardinia, Italy.

bradymiller wrote on Sunday, September 16, 2012:

Hi lullu,
Will test it out. Send me your email/name (if you want) to brady@sparmy.com so I can give you credit for the bug fix code commit.
thanks,
-brady
OpenEMR