Giving access permission per link

zhhealthcare wrote on Monday, May 31, 2010:

Giving access permission per link.

Aim
To have a user view only the reports.

What we did
By default there is no access control per link in OpenEMR. ACL screen is used to add controls, user group & give access.
An ACL Group “Report Viewers” is created. Section “Links” is added followed by the addition of the 5 first level links. The necessary links are given access to all the User Groups. A user is created under “Report Viewers”. To have the effect of these controls, a little bit coding is done.

Our Issue
We prevented the link from being displayed in the left side by using the “acl_check()” function.But what if some body directly takes the URL.Should we add check in each page.Can we do the check in the globals.Please help.

zhhealthcare wrote on Monday, May 31, 2010:

Conversation going on with the same topic in the tracker can be got at the following link.
https://sourceforge.net/tracker/?func=detail&atid=493004&aid=3007831&group_id=60081