-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
NetBox version
v3.5.6
Python version
3.11
Steps to Reproduce
Config settings:
LOGIN_REQUIRED = False
EXEMPT_VIEW_PERMISSIONS = ["*"]
Try to access /api/extras/content-types/
Expected Behavior
List of content types is returned.
Observed Behavior
{"detail":"Authentication credentials were not provided."}
This view only uses IsAuthenticated while other views use IsAuthenticatedOrLoginNotRequired, which I believe is what should be used for ContentTypeViewSet as well.
lyuyangh
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application