"Add Rule" button opens "Add Route" dialog if no rules are present #627

Closed
opened 2025-11-20 05:14:52 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @b00nish on GitHub (Feb 11, 2024).

Describe the problem

If there is a total of 0 rules existing, the button "Add Rule" will open the "Add Route" dialog instead of the "Add Rule" dialog. Therefore you can't create any more rules.

To Reproduce

Steps to reproduce the behavior:

  1. Go to "Access Control" in the web interface
  2. Delete all rules
  3. Click on "New Rule"
  4. See the "New Route" dialog appear instead of the "New Rule" dialog

Expected behavior

It is expected and necessary that the "New Rule" button brings up the "New Rule" dialog because otherwise one is stuck with no rules and therefore an unuseable Netbird instance.

Are you using NetBird Cloud?

Self-Hosted

NetBird version

I assume 0.25.6 because I installed today

Originally created by @b00nish on GitHub (Feb 11, 2024). **Describe the problem** If there is a total of 0 rules existing, the button "Add **Rule**" will open the "Add **Route**" dialog instead of the "Add Rule" dialog. Therefore you can't create any more rules. **To Reproduce** Steps to reproduce the behavior: 1. Go to "Access Control" in the web interface 2. Delete all rules 3. Click on "New Rule" 4. See the "New Route" dialog appear instead of the "New Rule" dialog **Expected behavior** It is expected and necessary that the "New Rule" button brings up the "New Rule" dialog because otherwise one is stuck with no rules and therefore an unuseable Netbird instance. **Are you using NetBird Cloud?** Self-Hosted **NetBird version** I assume 0.25.6 because I installed today
saavagebueno added the bugdashboard labels 2025-11-20 05:14:52 -05:00
Author
Owner

@surik commented on GitHub (Feb 12, 2024):

Fix: https://github.com/netbirdio/dashboard/pull/326

@surik commented on GitHub (Feb 12, 2024): Fix: https://github.com/netbirdio/dashboard/pull/326
Author
Owner

@surik commented on GitHub (Feb 12, 2024):

This should be fixed. Please feel free to reopen it if you are still experiencing the same.

@surik commented on GitHub (Feb 12, 2024): This should be fixed. Please feel free to reopen it if you are still experiencing the same.
Author
Owner

@b00nish commented on GitHub (Feb 12, 2024):

Thanks for your super fast reaction. I'm not very familiar with the whole Docker process.

Can I simply upgrade as described in your documentation here in order to receive the fix?

@b00nish commented on GitHub (Feb 12, 2024): Thanks for your super fast reaction. I'm not very familiar with the whole Docker process. Can I simply upgrade as described in your documentation [here](https://docs.netbird.io/selfhosted/selfhosted-quickstart#upgrade) in order to receive the fix?
Author
Owner

@surik commented on GitHub (Feb 12, 2024):

@b00nish yes, this should be enough.

@surik commented on GitHub (Feb 12, 2024): @b00nish yes, this should be enough.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#627