[PR #605] [MERGED] Add a SetupKey usage limit #12786

Closed
opened 2026-08-05 02:06:40 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/605
Author: @braginini
Created: 12/4/2022
Status: Merged
Merged: 12/5/2022
Merged by: @braginini

Base: mainHead: feature/setup-key-capacity


📝 Commits (6)

📊 Changes

8 files changed (+65 additions, -31 deletions)

View changed files

📝 management/server/account.go (+4 -8)
📝 management/server/http/api/openapi.yml (+8 -0)
📝 management/server/http/api/types.gen.go (+6 -0)
📝 management/server/http/setupkeys.go (+3 -2)
📝 management/server/http/setupkeys_test.go (+4 -2)
📝 management/server/mock_server/account_mock.go (+4 -3)
📝 management/server/setupkey.go (+26 -7)
📝 management/server/setupkey_test.go (+10 -9)

📄 Description

No description provided


🔄 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/605 **Author:** [@braginini](https://github.com/braginini) **Created:** 12/4/2022 **Status:** ✅ Merged **Merged:** 12/5/2022 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `feature/setup-key-capacity` --- ### 📝 Commits (6) - [`69dfb92`](https://github.com/netbirdio/netbird/commit/69dfb9289ea89d515f6162b97727ac2a586d9ae3) Add SetupKey usage limit - [`08c0aff`](https://github.com/netbirdio/netbird/commit/08c0aff08fab7499e04c56d22d8041a70caa9a09) Fix tests - [`6219c74`](https://github.com/netbirdio/netbird/commit/6219c7492f2b6b3a4e9f72ef20a5025bf5917f95) Forbid the Setup Key usage limit update - [`1a0ec68`](https://github.com/netbirdio/netbird/commit/1a0ec68ce2cc14076bfffd2042a3d4dcac7ed0e1) Fix iota - [`6d25693`](https://github.com/netbirdio/netbird/commit/6d25693a2ed098148ed307042b86b01ce351fceb) Simplify setup key usage check - [`32aac63`](https://github.com/netbirdio/netbird/commit/32aac6342bc9ab99d01f66194d0f03cca94eda84) Simplify setup key usage check ### 📊 Changes **8 files changed** (+65 additions, -31 deletions) <details> <summary>View changed files</summary> 📝 `management/server/account.go` (+4 -8) 📝 `management/server/http/api/openapi.yml` (+8 -0) 📝 `management/server/http/api/types.gen.go` (+6 -0) 📝 `management/server/http/setupkeys.go` (+3 -2) 📝 `management/server/http/setupkeys_test.go` (+4 -2) 📝 `management/server/mock_server/account_mock.go` (+4 -3) 📝 `management/server/setupkey.go` (+26 -7) 📝 `management/server/setupkey_test.go` (+10 -9) </details> ### 📄 Description _No description provided_ --- <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 02:06:40 -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#12786