Skip to content

Commit 54c6eb3

Browse files
authored
docs(security): fix broken anchor in 1.28 and 1.29 (#176)
The trust model section of the security page links to an "Inline managed roles" heading that only exists since 1.30 (`DatabaseRole`). It was added by cloudnative-pg/cloudnative-pg#10811 and backported without that feature. Link the page without the anchor. 1.28 and 1.29 are EOL, so the fix lives here. Removes the two broken anchor warnings from `yarn build`. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent 35318a5 commit 54c6eb3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎website/versioned_docs/version-1.28/security.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ including:
249249
- the bootstrap SQL hooks `postInitSQL`, `postInitApplicationSQL`, and
250250
`postInitTemplateSQL`, executed as the `postgres` superuser at initialization
251251
(see [Executing Queries After Initialization](bootstrap.md#executing-queries-after-initialization));
252-
- [inline managed roles](declarative_role_management.md#inline-managed-roles)
252+
- [managed roles](declarative_role_management.md)
253253
(`spec.managed.roles`), which may set `superuser: true` or grant membership of
254254
existing roles, and can use PostgreSQL features such as `COPY ... FROM PROGRAM`
255255
to run commands inside the operand Pod;

‎website/versioned_docs/version-1.29/security.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ including:
249249
- the bootstrap SQL hooks `postInitSQL`, `postInitApplicationSQL`, and
250250
`postInitTemplateSQL`, executed as the `postgres` superuser at initialization
251251
(see [Executing Queries After Initialization](bootstrap.md#executing-queries-after-initialization));
252-
- [inline managed roles](declarative_role_management.md#inline-managed-roles)
252+
- [managed roles](declarative_role_management.md)
253253
(`spec.managed.roles`), which may set `superuser: true` or grant membership of
254254
existing roles, and can use PostgreSQL features such as `COPY ... FROM PROGRAM`
255255
to run commands inside the operand Pod;

0 commit comments

Comments
 (0)