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

IPAMChangeHostPermission is prone to inducing latency #169

Open
Simponic opened this issue Oct 13, 2022 · 0 comments
Open

IPAMChangeHostPermission is prone to inducing latency #169

Simponic opened this issue Oct 13, 2022 · 0 comments
Labels

Comments

@Simponic
Copy link
Contributor

Describe the bug
Adding a new api view, and using the permission_classes IsAuthenticated and IPAMChangeHostPermission induces latency of up to 15 seconds.

To Reproduce

  1. Create a new view (in this case, extending APIView)
  2. Set the view's permission_classes to (IsAuthenticated, IPAMChangeHostPermission)
  3. Add a new request method
  4. Call that request from a fetch or ajax call
  5. The request in the network tab is not resolved until about 15 seconds later
@Simponic Simponic added the bug label Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant