[PR #4889] [CLOSED] [management] temporary peer access for resources #26538

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4889
Author: @pascal-fischer
Created: 12/1/2025
Status: Closed

Base: mainHead: feature/temporary-access-for-resource


📝 Commits (3)

📊 Changes

4 files changed (+143 additions, -4 deletions)

View changed files

📝 management/server/http/handlers/networks/handler.go (+1 -1)
📝 management/server/http/handlers/networks/resources_handler.go (+97 -3)
📝 shared/management/http/api/openapi.yml (+42 -0)
📝 shared/management/http/api/types.gen.go (+3 -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
    • Temporary access peers: create temporary access peers for networks, peers, and specific resources with resource-scoped permissions that auto-expire when disconnected.
  • Documentation
    • API updated with new POST endpoints and request/response schemas to create temporary access peers for peers and network resources.

✏️ 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/4889 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 12/1/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/temporary-access-for-resource` --- ### 📝 Commits (3) - [`f4c4d37`](https://github.com/netbirdio/netbird/commit/f4c4d37d4e4bf0bfadabda5e38fd386a02d948d0) add resource temporary peer support - [`afa1620`](https://github.com/netbirdio/netbird/commit/afa1620e6d6178b0b23cbe637bfd0a708e1f7a0e) pass account manager - [`29c5184`](https://github.com/netbirdio/netbird/commit/29c518432937138f62ca53b9b48272859208d760) fix tag in openapi ### 📊 Changes **4 files changed** (+143 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `management/server/http/handlers/networks/handler.go` (+1 -1) 📝 `management/server/http/handlers/networks/resources_handler.go` (+97 -3) 📝 `shared/management/http/api/openapi.yml` (+42 -0) 📝 `shared/management/http/api/types.gen.go` (+3 -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 - [x] 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 - [] 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** * Temporary access peers: create temporary access peers for networks, peers, and specific resources with resource-scoped permissions that auto-expire when disconnected. * **Documentation** * API updated with new POST endpoints and request/response schemas to create temporary access peers for peers and network resources. <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:28 -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#26538