Skip to content

Conversation

micheleRP
Copy link
Contributor

@micheleRP micheleRP commented Aug 22, 2025

Description

This pull request updates the nav structure for ACLs in the security authorization section.
Related to redpanda-data/docs#1334

Resolves https://redpandadata.atlassian.net/browse/DOC-1637
Review deadline:

Page previews

Authorization index page

Checks

  • New feature
  • Content gap
  • Support Follow-up
  • Small fix (typos, links, copyedits, etc)

@micheleRP micheleRP requested a review from a team as a code owner August 22, 2025 17:21
Copy link
Contributor

coderabbitai bot commented Aug 22, 2025

Important

Review skipped

Auto incremental reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

📝 Walkthrough

Walkthrough

The PR updates documentation navigation and a page title/metadata. In modules/ROOT/nav.adoc, the ACLs entry is moved under Security > Authorization as its own third-level item, no longer nested under RBAC. The previous ACL link under the RBAC subtree is removed. In modules/security/pages/authorization/rbac/acl.adoc, the page title is shortened from "Use ACLs in the Data Plane" to "Use ACLs," and a description metadata line is added. The include directive remains unchanged.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Assessment against linked issues

Objective Addressed Explanation
Fix Cloud nav so ACLs is not nested under RBAC (DOC-1637)

Assessment against linked issues: Out-of-scope changes

Code Change Explanation
Title changed to "Use ACLs" and description metadata added (modules/security/pages/authorization/rbac/acl.adoc: lines 1–2) The issue only specifies adjusting Cloud navigation; page title/metadata changes are not mentioned and appear unrelated.

Suggested reviewers

  • mattschumpert
  • paulohtb6
  • sago2k8
✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch DOC-1637-update-cloud-for-SR-auth-UI

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

netlify bot commented Aug 22, 2025

Deploy Preview for rp-cloud ready!

Name Link
🔨 Latest commit 2d00898
🔍 Latest deploy log https://app.netlify.com/projects/rp-cloud/deploys/68aca1d683c1920008473c32
😎 Deploy Preview https://deploy-preview-396--rp-cloud.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
modules/security/pages/authorization/rbac/acl.adoc (1)

1-2: Optional: consider future path move to reflect new IA

Now that ACLs aren’t nested under RBAC in nav, the file path security/pages/authorization/rbac/acl.adoc is a mild mismatch. Not urgent, but consider relocating to security/pages/authorization/acl.adoc in a future IA cleanup, with :page-aliases: to preserve inbound links.

+= Use ACLs
+:page-aliases: security:authorization/rbac/acl.adoc
 :description: Learn how to use ACLs to configure fine-grained access to Redpanda resources.
modules/ROOT/nav.adoc (1)

60-60: Nit: consider an expanded nav label for clarity

If space allows, “Access control lists (ACLs)” can help first-time readers. If brevity is preferred (consistent with “RBAC”), keep as-is.

-*** xref:security:authorization/rbac/acl.adoc[ACLs]
+*** xref:security:authorization/rbac/acl.adoc[Access control lists (ACLs)]
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 3319db4 and 6636351.

📒 Files selected for processing (2)
  • modules/ROOT/nav.adoc (1 hunks)
  • modules/security/pages/authorization/rbac/acl.adoc (1 hunks)
🔇 Additional comments (4)
modules/security/pages/authorization/rbac/acl.adoc (2)

1-2: Title simplification + description meta look good

Renamed heading and added :description: are aligned with the new nav label and improve SEO/snippets. No issues.


1-2: Verify cross-repo include target and tag in the docs repo

It looks like the include source modules/manage/pages/security/authorization/acl.adoc isn’t present in this cloud-docs repo—per our single-sourcing pattern, that file (and its [tag=single-source] marker) should live in the docs repo. Please confirm:

  • In the corresponding PR on the docs repository, there is a file at
    modules/manage/pages/security/authorization/acl.adoc
    and it contains the tag=single-source attribute on the include block.
  • The local-antora-playbook.yml used for preview properly links that docs PR so the include resolves.
modules/ROOT/nav.adoc (2)

60-60: Correctly relocated ACLs out of RBAC subtree

The new third-level entry xref:security:authorization/rbac/acl.adoc[ACLs] under Authorization fulfills DOC-1637 (ACLs no longer nested under RBAC). Order alongside “Cloud Authorization” and the RBAC index looks consistent.


60-60: ACLs xref in modules/ROOT/nav.adoc is singular and resolves correctly

  • Found one xref:security/authorization/rbac/acl.adoc[ACLs] entry in modules/ROOT/nav.adoc (line 60).
  • Target file modules/security/pages/authorization/rbac/acl.adoc exists and is reachable.
  • No legacy “Use ACLs in the Data Plane” entries detected in nav.adoc.

Copy link
Contributor

@paulohtb6 paulohtb6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm mostly minor things that are optional

@micheleRP micheleRP merged commit b7a8490 into main Aug 25, 2025
5 checks passed
@micheleRP micheleRP deleted the DOC-1637-update-cloud-for-SR-auth-UI branch August 25, 2025 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants