[PR #3693] [CLOSED] [management] network admin role #18265

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/3693
Author: @pnmcosta
Created: 4/16/2025
Status: Closed

Base: feature/users-roles-endpointHead: feature/network-admin-role


📝 Commits (7)

  • 5b8fb45 [management] network admin role
  • 4e0881c fix permissions role
  • 6e30d9f Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role
  • d13f9c0 Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role
  • d9329a2 Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role
  • b84bb20 Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role
  • 32abfa7 Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role

📊 Changes

3 files changed (+96 additions, -3 deletions)

View changed files

management/server/permissions/roles/network_admin.go (+91 -0)
📝 management/server/permissions/roles/role_permissions.go (+4 -3)
📝 management/server/types/user.go (+1 -0)

📄 Description

Describe your changes

The Network Admin role allows users to manage network configurations, including access policies, DNS settings, networks, and network routes, but they can only view (not edit) user and device information and general settings.

Stack

  • feature/additional-roles - ⚠️ No PR associated with branch

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)
  • Extended the README / documentation, if necessary

🔄 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/3693 **Author:** [@pnmcosta](https://github.com/pnmcosta) **Created:** 4/16/2025 **Status:** ❌ Closed **Base:** `feature/users-roles-endpoint` ← **Head:** `feature/network-admin-role` --- ### 📝 Commits (7) - [`5b8fb45`](https://github.com/netbirdio/netbird/commit/5b8fb4592d5f42f3a8a6ad4fc14ba22218deaca9) [management] network admin role - [`4e0881c`](https://github.com/netbirdio/netbird/commit/4e0881c54387479f6981f939b56612118950aca4) fix permissions role - [`6e30d9f`](https://github.com/netbirdio/netbird/commit/6e30d9f5584dd575ac4793496f86010ce686b883) Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role - [`d13f9c0`](https://github.com/netbirdio/netbird/commit/d13f9c01d5dd80e4f716897b192797635d2d1294) Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role - [`d9329a2`](https://github.com/netbirdio/netbird/commit/d9329a2900c7692fafbdbeafe6a4d11ef852cec9) Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role - [`b84bb20`](https://github.com/netbirdio/netbird/commit/b84bb2081d82959ae902c5efaaa704dbe8e36e35) Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role - [`32abfa7`](https://github.com/netbirdio/netbird/commit/32abfa70dd94d9471b49eb7d81646b1d708ebbb8) Merge branch 'feature/users-roles-endpoint' into feature/network-admin-role ### 📊 Changes **3 files changed** (+96 additions, -3 deletions) <details> <summary>View changed files</summary> ➕ `management/server/permissions/roles/network_admin.go` (+91 -0) 📝 `management/server/permissions/roles/role_permissions.go` (+4 -3) 📝 `management/server/types/user.go` (+1 -0) </details> ### 📄 Description ## Describe your changes The Network Admin role allows users to manage network configurations, including access policies, DNS settings, networks, and network routes, but they can only view (not edit) user and device information and general settings. ## Issue ticket number and link ## Stack - `feature/additional-roles` - :warning: No PR associated with branch <!-- branch-stack --> - \#3686 - \#3691 - \#3693 :point\_left: ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 04:08:19 -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#18265