Repository navigation
Conversation
master/ has no security/ directory: pg_hba.conf appears in six pages, password_encryption on one page (three hits, and none on the English side), GRANT in 23 files, and no single place explains how authentication, password hashing, TLS and privileges behave in either serving mode. Add master/security/authentication_and_privileges.adoc (CN + EN) and register it in both nav.adoc files as its own top-level block, placed before the FAQ section so it does not compete with the sections currently being edited by other open pull requests. The default pg_hba.conf rules and their line numbers, the password_encryption enum values, the public schema ACL and the two-listener behaviour were all taken from a freshly initialised IvorySQL 5.6 instance. Closes IvorySQL#394
|
🚀 IvorySQL-Docs Preview Ready
|
This was referenced Nov 12, 2026
Author
|
Note for reviewers: an identical pull request from the same patch (#400) was opened in the same second by a duplicate automation run. It has been closed, so this is the only thread to review. |
qwer381
force-pushed
the
docs/security-authentication-privileges
branch
from
November 13, 2026 05:53
65f9f91 to
5aead8d
Compare
|
🚀 IvorySQL-Docs Preview Ready
|
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 #394
What changed
New page
master/security/authentication_and_privileges.adocin both languages (+345 lines each), plus two lines per language innav.adocto register it as its own top-level block:The block is placed before the FAQ section, i.e. after
参考指南. That position is deliberate: 25 open pull requests currently editnav.adoc, but all of them insert above line 177 (CN) / 181 (EN), and the security page is a new top-level topic, so it does not belong under any existing section.What the page covers
pg_hba.conffield by field, the six rules a fresh 5.6 install ships (line numbers 117, 119, 121, 124, 125, 126),local/host/hostssl, and why editing the file only needs a reload.password_encryption(md5|scram-sha-256, defaultscram-sha-256), what the stored hash looks like, and what happens to existing hashes when the setting changes.ssl*parameters a running 5.6 reports, with the caveat that the set depends on whether the build links OpenSSL (see below).GRANT/REVOKE, default privileges and object ownership, and the actualpublicschema ACL:{pg_database_owner=UC/pg_database_owner,=U/pg_database_owner}—USAGEis granted toPUBLIC,CREATEis not.pgon 5432 andoracleon 1521), andCREATE USER … IDENTIFIED BYis not accepted by this build: both listeners returnERROR: unrecognized role option "identified".How it was verified
Everything was read from a freshly initialised
initdb -m oracleinstance of IvorySQL 5.6 (listeners 5701 / 1701) — thepg_hba_file_rulescolumn order and the six default rules with their line numbers,password_encryptionand itsenumvals, thepg_database_ownerACL,has_schema_privilege('public','public','CREATE')= false /USAGE= true, and the behaviour of Oracle-style DDL on each listener.One point is stated as build-dependent rather than absolute: the
ssl*parameter set differs between a build that links OpenSSL (16 parameters,ssl_ciphers = HIGH:MEDIUM:+3DES:!aNULL,ssl_groups = X25519:prime256v1,ssl_library = OpenSSL) and one that does not (17 parameters includingssl_sni, withnone/empty values). Both were measured here, so the page explains the difference instead of quoting one build's output as universal.Rendering:
asciidoctor.js 4.2.1, zero warnings, CN and EN have identical structure (1 h1 / 6 h2 / 9 h3 / 1 table / 18 literal blocks).Checklist
nav.adocchange is additive: two lines per language, inserted outside the region touched by the open pull requests