Difference between revisions of "PhpGacl"

From OpenEMR Project Wiki
m (1 revision: second)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Lineage =
== Lineage ==


Since OpenEMR version 3.0.0, access controls (php-GACL) is included in OpenEMR, thus requiring no separate installation or configuration.
Since OpenEMR version 3.0.0, access controls (php-GACL) is included in OpenEMR, thus requiring no separate installation or configuration.
In OpenEMR versions 2.9.0 and earlier, php-GACL was actually installed separately.
In OpenEMR versions 2.9.0 and earlier, php-GACL was actually installed separately.


= Usage =
== Usage ==
Administration of access controls is performed within OpenEMR in the admin->acl menu.
Administration of access controls is performed within OpenEMR in the admin->acl menu.


= Important Documentation =
== Adding new ACO/ACLs ==
If you add a new Access Control Object (or group or ACL) to the OpenEMR codebase, then also add it to the following three sites:
:#Header notes of the library/acl.inc file
:#acl_setup.php file
:#acl_upgrade.php file
:::*Also need to increment the $v_acl in version.php file to the '$upgrade_acl' value that you used in the acl_upgrade.php script.
 
== Important Documentation ==
The below information is detailed and for developers to learn how php-GACL was integrated and how to use it when modifying code.
The below information is detailed and for developers to learn how php-GACL was integrated and how to use it when modifying code.
:Within the OpenEMR directory, check out:<br>
::openemr/Documentation/README.phpgacl<br>
::openemr/INSTALL<br>
::openemr/library/acl.inc<br>
::openemr/acl_setup.php<br>
::openemr/acl_upgrade.php<br>
:There are several threads at the forums on SourceForge:<br>
::http://sourceforge.net/forum/forum.php?thread_id=1844870&forum_id=202506<br>
::http://sourceforge.net/forum/forum.php?thread_id=1899619&forum_id=202506<br>
::http://sourceforge.net/forum/forum.php?thread_id=2045980&forum_id=202506<br>


 
[[Category:Developer Guide]]
Within the OpenEMR directory, check out:<br>
openemr/Documentation/README.phpgacl<br>
openemr/INSTALL<br>
openemr/library/acl.inc<br>
openemr/acl_setup.php<br>
openemr/acl_upgrade.php<br>
 
 
There are several threads at the forums on SourceForge:<br>
http://sourceforge.net/forum/forum.php?thread_id=1844870&forum_id=202506<br>
http://sourceforge.net/forum/forum.php?thread_id=1899619&forum_id=202506<br>
http://sourceforge.net/forum/forum.php?thread_id=2045980&forum_id=202506<br>

Revision as of 20:24, 28 September 2012

Lineage

Since OpenEMR version 3.0.0, access controls (php-GACL) is included in OpenEMR, thus requiring no separate installation or configuration. In OpenEMR versions 2.9.0 and earlier, php-GACL was actually installed separately.

Usage

Administration of access controls is performed within OpenEMR in the admin->acl menu.

Adding new ACO/ACLs

If you add a new Access Control Object (or group or ACL) to the OpenEMR codebase, then also add it to the following three sites:

  1. Header notes of the library/acl.inc file
  2. acl_setup.php file
  3. acl_upgrade.php file
  • Also need to increment the $v_acl in version.php file to the '$upgrade_acl' value that you used in the acl_upgrade.php script.

Important Documentation

The below information is detailed and for developers to learn how php-GACL was integrated and how to use it when modifying code.

Within the OpenEMR directory, check out:
openemr/Documentation/README.phpgacl
openemr/INSTALL
openemr/library/acl.inc
openemr/acl_setup.php
openemr/acl_upgrade.php
There are several threads at the forums on SourceForge:
http://sourceforge.net/forum/forum.php?thread_id=1844870&forum_id=202506
http://sourceforge.net/forum/forum.php?thread_id=1899619&forum_id=202506
http://sourceforge.net/forum/forum.php?thread_id=2045980&forum_id=202506