[PR #4994] [MERGED] [management] use single user for authorized users list for browser client #26792

Open
opened 2026-08-05 07:07:48 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4994
Author: @pascal-fischer
Created: 12/24/2025
Status: Merged
Merged: 12/29/2025
Merged by: @pascal-fischer

Base: feature/ssh-fine-grained-accessHead: feature/ssh-fine-grained-access-browser-ssh


📝 Commits (4)

  • f17f050 use single user for authorized users list for browser client
  • f2d7f9e replace elseif with switch
  • 4e8abc5 replace elseif with switch
  • 2810daf remove wildcard handling on proto conversion

📊 Changes

5 files changed (+18 additions, -12 deletions)

View changed files

📝 management/internals/shared/grpc/conversion.go (+0 -7)
📝 management/server/http/handlers/peers/peers_handler.go (+3 -0)
📝 management/server/store/sql_store.go (+2 -2)
📝 management/server/types/account.go (+9 -3)
📝 management/server/types/policyrule.go (+4 -0)

📄 Description

Describe your changes

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • New Features
    • SSH policies now support targeting specific authorized users, enabling more granular access control alongside existing group-based authorization methods.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/4994 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 12/24/2025 **Status:** ✅ Merged **Merged:** 12/29/2025 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `feature/ssh-fine-grained-access` ← **Head:** `feature/ssh-fine-grained-access-browser-ssh` --- ### 📝 Commits (4) - [`f17f050`](https://github.com/netbirdio/netbird/commit/f17f0506abdc85d876e3a7856eadc1442a6d84a4) use single user for authorized users list for browser client - [`f2d7f9e`](https://github.com/netbirdio/netbird/commit/f2d7f9ea4da46be8fe52f0330c2615bc6c896dc5) replace elseif with switch - [`4e8abc5`](https://github.com/netbirdio/netbird/commit/4e8abc5686be73f34b6df2c2d536be238adee81f) replace elseif with switch - [`2810daf`](https://github.com/netbirdio/netbird/commit/2810daf95808c6bb76cce24babfd9bb95383fee7) remove wildcard handling on proto conversion ### 📊 Changes **5 files changed** (+18 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `management/internals/shared/grpc/conversion.go` (+0 -7) 📝 `management/server/http/handlers/peers/peers_handler.go` (+3 -0) 📝 `management/server/store/sql_store.go` (+2 -2) 📝 `management/server/types/account.go` (+9 -3) 📝 `management/server/types/policyrule.go` (+4 -0) </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-stack --> ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * SSH policies now support targeting specific authorized users, enabling more granular access control alongside existing group-based authorization methods. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 07:07:48 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#26792