Skip to content

Conversation

@brandonJY
Copy link

@brandonJY brandonJY commented Dec 24, 2025

User description

update the link in the file to point to how to setup the feature flag. Previous page point to list of feature flag which may not make sene to new user on how to use feature flag

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

url update only

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

CodeAnt-AI Description

docs: Point DASHBOARD_RBAC feature flag link to setup instructions

What Changed

  • Replaced the GitHub feature flags list link with the internal "Configuring Superset → Feature Flags" page for the DASHBOARD_RBAC flag
  • Instructions still tell users to add 'DASHBOARD_RBAC': True to superset_config.py and assign the Public role to dashboards

Impact

✅ Clearer feature flag setup
✅ Fewer configuration errors for enabling public dashboards
✅ Shorter time to find setup instructions

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

update the link in the file to point to how to setup the feature flag.
Previous page point to list of feature flag which may not make sene to new user on how to use feature flag
@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@bito-code-review
Copy link
Contributor

bito-code-review bot commented Dec 24, 2025

Code Review Agent Run #d02e3e

Actionable Suggestions - 0
Review Details
  • Files reviewed - 1 · Commit Range: 523c6fc..523c6fc
    • docs/docs/configuration/networking-settings.mdx
  • Files skipped - 0
  • Tools
    • Whispers (Secret Scanner) - ✔︎ Successful
    • Detect-secrets (Secret Scanner) - ✔︎ Successful

Bito Usage Guide

Commands

Type the following command in the pull request comment and save the comment.

  • /review - Manually triggers a full AI review.

  • /pause - Pauses automatic reviews on this pull request.

  • /resume - Resumes automatic reviews.

  • /resolve - Marks all Bito-posted review comments as resolved.

  • /abort - Cancels all in-progress reviews.

Refer to the documentation for additional commands.

Configuration

This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at [email protected].

Documentation & Help

AI Code Review powered by Bito Logo

@github-actions github-actions bot added the doc Namespace | Anything related to documentation label Dec 24, 2025
@codeant-ai-for-open-source codeant-ai-for-open-source bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Dec 24, 2025
@codeant-ai-for-open-source
Copy link
Contributor

Nitpicks 🔍

🔒 No security issues identified
⚡ Recommended areas for review

  • User Clarity
    The step tells users to "Add the 'DASHBOARD_RBAC': True" but doesn't show the recommended context (e.g., whether to set FEATURE_FLAGS dict or a top-level key). That can cause misconfiguration; verify the instruction matches the exact canonical config snippet.

  • Broken Link Risk
    The inserted link targets the "feature flags" section. Confirm the target page contains the intended setup instructions (not just a list), and that the '#feature-flags' anchor exists and will remain stable. If the anchor or slug changes, this link will break or mislead users.

#### Making a Dashboard Public

1. Add the `'DASHBOARD_RBAC': True` [Feature Flag](https://github.com/apache/superset/blob/master/RESOURCES/FEATURE_FLAGS.md) to `superset_config.py`
1. Add the `'DASHBOARD_RBAC': True` [Feature Flag](/docs/configuration/configuring-superset#feature-flags) to `superset_config.py`
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggestion: The inline fragment uses quotes and a colon within the prose which is easy to mis-copy and cause syntax mistakes; provide a clear inline code assignment alternative (single-line assignment) so readers can copy a minimal, correct statement. [possible bug]

Severity Level: Critical 🚨

Suggested change
1. Add the `'DASHBOARD_RBAC': True` [Feature Flag](/docs/configuration/configuring-superset#feature-flags) to `superset_config.py`
1. Alternatively, you can set the flag with a single-line assignment in `superset_config.py`:
```python
FEATURE_FLAGS['DASHBOARD_RBAC'] = True
<details>
<summary><b>Why it matters? ⭐ </b></summary>

A single-line assignment (FEATURE_FLAGS['DASHBOARD_RBAC'] = True) is a minimal, copy-pastable example that reduces ambiguity. It's helpful for users who already have FEATURE_FLAGS defined; the doc should still note the need to create the dict if it doesn't exist.
</details>
<details>
<summary><b>Prompt for AI Agent 🤖 </b></summary>

```mdx
This is a comment left during a code review.

**Path:** docs/docs/configuration/networking-settings.mdx
**Line:** 54:54
**Comment:**
	*Possible Bug: The inline fragment uses quotes and a colon within the prose which is easy to mis-copy and cause syntax mistakes; provide a clear inline code assignment alternative (single-line assignment) so readers can copy a minimal, correct statement.

Validate the correctness of the flagged issue. If correct, How can I resolve this? If you propose a fix, implement it and please make it concise.

@codeant-ai-for-open-source
Copy link
Contributor

CodeAnt AI finished reviewing your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Namespace | Anything related to documentation size/XS size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant