Added multi-site admin functionality#1640
Open
maggienegm wants to merge 3 commits intoLibreHealthIO:masterfrom
Open
Added multi-site admin functionality#1640maggienegm wants to merge 3 commits intoLibreHealthIO:masterfrom
maggienegm wants to merge 3 commits intoLibreHealthIO:masterfrom
Conversation
aethelwulffe
reviewed
Sep 1, 2020
Contributor
aethelwulffe
left a comment
There was a problem hiding this comment.
Might want to check out the paradigm that the site "default" is never actually used for a clinic. Among other things, it really helps when a running install is also a repo, so the local DB/site files can always have a .gitignore to keep them untracked, while the base code gets updated...and PR's/branches can come straight off the running code, or test new code too.
Contributor
Author
|
Hmmm, I thought "default" was just a value; "default" is a site ID name and is the default value when creating a site using |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added an admin.php file to handle multiple sites and their respective setup and configuration. You have to manually type the URL to access admin.php, which requires user authentication before its contents are accessed. Currently, it includes the following functionalities:
setup/sql_upgrade.php)acl_upgrade.php)sql_patch.php)This will help prevent unauthenticated info disclosure and unauthenticated admin actions.
Context: PR 1638