[PR #13248] [MERGED] Fixes #13237 - Allow unauthenticated api access to content-types. #14139

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13248
Author: @fabi125
Created: 7/23/2023
Status: Merged
Merged: 7/27/2023
Merged by: @jeremystretch

Base: developHead: nb-13237


📝 Commits (1)

  • 99ae4dc Fixes #13237 - Allow unauthenticated api access to content-types.

📊 Changes

1 file changed (+1 additions, -2 deletions)

View changed files

📝 netbox/extras/api/views.py (+1 -2)

📄 Description

Fixes: #13237

Allow unauthenticated access to /api/extras/content-types/ if login is not required for Netbox.

The rest of the file uses lists for the permissions, so I switched this view to a list as well (instead of a tuple).


🔄 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/13248 **Author:** [@fabi125](https://github.com/fabi125) **Created:** 7/23/2023 **Status:** ✅ Merged **Merged:** 7/27/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `nb-13237` --- ### 📝 Commits (1) - [`99ae4dc`](https://github.com/netbox-community/netbox/commit/99ae4dc6485fb2a427eb2e561d5bae796f6bf452) Fixes #13237 - Allow unauthenticated api access to content-types. ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/api/views.py` (+1 -2) </details> ### 📄 Description ### Fixes: #13237 Allow unauthenticated access to `/api/extras/content-types/` if login is not required for Netbox. The rest of the file uses lists for the permissions, so I switched this view to a list as well (instead of a tuple). --- <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:22:45 +01:00
adam closed this issue 2025-12-29 23:22:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14139