feat: openemr 6752 6751 address book user rest api (#6767)
commitdfe8ed37379cd081f5dcd4c4c452514d11bf2608
authorStephen Nielson <snielson@discoverandchange.com>
Mon, 21 Aug 2023 19:59:34 +0000 (21 15:59 -0400)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 19:59:34 +0000 (21 15:59 -0400)
tree79494a03477449f3ae233d97baa8a16139e35944
parentf5807bf34f53f9b1b1d665e2668414889ab5fdd6
feat: openemr 6752 6751 address book user rest api (#6767)

* Fixes #6752 address book config setting

Allows an address book config data type to be added for the global config.

Fixes #6752

* Fixes #6751 add user endpoint

Adds an endpoint for retrieving users from the system.  If there are
users we wish to retrieve that are not practitioners (such as external
entities that are in the address book), we can't use the practitioner
api.  Instead we expose the users endpoint.

Fixes #6751

* Left popup extension out in addrbook

* Fix use clauses, attribute escaping.

* Switch to relative path on api, pathing fix.

After conversations with admins we decided to go with a relative api url
for the internal api usage instead of the oauth2 full path.

Also fixed a path issue.
_rest_routes.inc.php
interface/super/edit_globals.js
interface/super/edit_globals.php
interface/super/templates/globals-address-book.php [new file with mode: 0644]
interface/usergroup/addrbook_list.php
src/Common/Auth/OpenIDConnect/Repositories/ScopeRepository.php
src/FHIR/Config/ServerConfig.php
src/Services/Globals/GlobalSetting.php
swagger/openemr-api.yaml