Skip to content

Re-parent DAB views from AWX base#15019

Merged
dmzoneill merged 1 commit into
ansible:develfrom
AlanCoding:your_dab_parent
Mar 29, 2024
Merged

Re-parent DAB views from AWX base#15019
dmzoneill merged 1 commit into
ansible:develfrom
AlanCoding:your_dab_parent

Conversation

@AlanCoding
Copy link
Copy Markdown
Member

SUMMARY

Peeling this off from the RBAC branch, because we got word that other people were experiencing strange 403 errors when a 401 was expected. I ran into that exact thing a while ago and tore my hair out from it for 1/2 of a day. The issue is that DRF has a header-generator for errors, which call back to the authentication plugin. The issue is that we inserted the JWT auth in the front of our authentication plugin list.

This never mattered for AWX because its parent view just went and attached its own darn header to error responses and bypassed that code. But for DAB views, that never applied. Now we will make it so, by using this setting to get DAB to make its own views a subclass of AWX views.

This has been stable enough in the RBAC branch, it should rightfully be peeled off into devel branch.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@dmzoneill dmzoneill merged commit 30500e5 into ansible:devel Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants