[PR #12393] [CLOSED] Add REMOTE_AUTH_AUTOCREATE_GROUPS #13963

Closed
opened 2025-12-29 23:21:47 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/12393
Author: @jschewebbn
Created: 4/29/2023
Status: Closed

Base: developHead: issues/7671.remote-group-autocreate


📝 Commits (1)

  • 7bd43a0 Add REMOTE_AUTH_AUTOCREATE_GROUPS

📊 Changes

3 files changed (+50 additions, -2 deletions)

View changed files

📝 netbox/netbox/authentication.py (+5 -2)
📝 netbox/netbox/settings.py (+1 -0)
📝 netbox/netbox/tests/test_authentication.py (+44 -0)

📄 Description

When REMOTE_AUTH_AUTOCREATE_GROUPS is True, Netbox will create groups referenced in the REMOTE_AUTH_GROUP_HEADER that don't exist in the database.

Work was done by Lars Kellogg-Stedman, I just rebased onto the current develop branch.

Closes #7671

This is https://github.com/netbox-community/netbox/pull/8603 rebased onto the current develop branch. I've also made the fix noted by @kkthxbye-code to the parameter naming.


🔄 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/netbox-community/netbox/pull/12393 **Author:** [@jschewebbn](https://github.com/jschewebbn) **Created:** 4/29/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `issues/7671.remote-group-autocreate` --- ### 📝 Commits (1) - [`7bd43a0`](https://github.com/netbox-community/netbox/commit/7bd43a066b20a26124d291366ac15947a942c1c2) Add REMOTE_AUTH_AUTOCREATE_GROUPS ### 📊 Changes **3 files changed** (+50 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/authentication.py` (+5 -2) 📝 `netbox/netbox/settings.py` (+1 -0) 📝 `netbox/netbox/tests/test_authentication.py` (+44 -0) </details> ### 📄 Description When REMOTE_AUTH_AUTOCREATE_GROUPS is True, Netbox will create groups referenced in the REMOTE_AUTH_GROUP_HEADER that don't exist in the database. Work was done by Lars Kellogg-Stedman, I just rebased onto the current develop branch. Closes #7671 This is https://github.com/netbox-community/netbox/pull/8603 rebased onto the current develop branch. I've also made the fix noted by @kkthxbye-code to the parameter naming. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:21:47 +01:00
adam closed this issue 2025-12-29 23:21:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13963