Repository navigation
Conversation
There was no page on authentication methods or privilege management: the master tree had no security/ directory and password_encryption was mentioned on a single page. Add a page covering the fields of a pg_hba.conf rule and why a reload is enough, the values of password_encryption and how a password is stored, transport encryption, roles, GRANT/REVOKE, ownership and default privileges, the differences in Oracle compatible mode, and a troubleshooting checklist; link it from the navigation in both trees. Assisted-by: DSH:deepseek-v4.1 Percentage of AI-generated code: 100%
|
🚀 IvorySQL-Docs Preview Ready
|
Author
|
Duplicate of #399, opened seconds apart with an identical patch ( |
4 tasks done
This branch was previously deployed
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.
Closes #396
What this changes
Adds a new page,
master/security/authentication_and_privileges.adoc(345 lines), in both the Chinese and the English tree, and links it fromnav.adocin each tree as a new top-level section placed immediately before the FAQ: 2 added lines per tree. Nothing else changes — no existing page or navigation entry is modified. 694 inserted lines in total, no deletions.The page has six sections:
pg_hba.confrule, and why a reload is enough after editing it.password_encryptionaccepts, and what is actually stored for a password.ssl*parameters, with a note that their number and their defaults depend on how the binary was built.GRANT/REVOKE, object ownership and default privileges.Why
The documentation had nothing on authentication or privilege management: there was no
security/directory undermaster/,password_encryptionappeared three times on a single page and never in the English tree, and the Oracle-specific behaviour — that the compatibility mode follows the listener, and thatCREATE USER ... IDENTIFIED BYis rejected — was documented nowhere. Administrators ended up readingpg_hba.confcomments and source code.Verification
master(7d4ad9d);git apply --checkandgit applyboth exit 0, and the resulting blob hashes are identical to the ones recorded in the patch index, so the committed bytes are exactly the reviewed ones.h1, sixh2, nineh3, one table and eighteen listing blocks.pg_hba_file_rules, the line numbers of the default rules,password_encryptiondefaulting toscram-sha-256withenumvals {md5,scram-sha-256}, the mode reported on each of the two listeners,to_char(sysdate, ...) FROM dual, the defaultpublicACL of a database, and the error returned byCREATE USER ... IDENTIFIED BYon both ports.xrefis left dangling.Refs #164
Refs #165