Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI ViewSet Default Unauthenticated Behavior Differs From Nautobot Patterns #2595

Closed
whitej6 opened this issue Oct 8, 2022 · 0 comments · Fixed by #2598
Closed

UI ViewSet Default Unauthenticated Behavior Differs From Nautobot Patterns #2595

whitej6 opened this issue Oct 8, 2022 · 0 comments · Fixed by #2598
Assignees

Comments

@whitej6
Copy link
Contributor

whitej6 commented Oct 8, 2022

Environment

  • Nautobot version (Docker tag too if applicable): 1.4.5
  • Python version: 3.8
  • Database platform, version: NA
  • Middleware(s): NA

Steps to Reproduce

  1. As an unauthenticated user browse to a view that is registered via NautobotUIViewSetRouter
  • Can be verified here as unauthenticated

Expected Behavior

Redirect to login page with next query param for:

  • list view
  • detail view
  • create view
  • edit view

404 Response:

  • notes view
  • changelog view

Observed Behavior

Page loads

  • list view is rendered without any instances populated
  • detail view returns 404
  • create returns rendered form but no nested objects
  • edit returns 404

404 Response:

  • notes view
  • changelog view
@HanlinMiao HanlinMiao self-assigned this Oct 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants