-
Notifications
You must be signed in to change notification settings - Fork 145
Workaround for auth issue #13
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
Conversation
|
@chouseknecht one other issue that I've found... If using a non-admin user, the get returns a 403 instead of a 404. |
|
@detiber, I think this coincides with what you were saying on Friday. If I However, the deployment eventually fails with the following error: Conclusions
|
|
Encountering the same deployment failure when logged in as Steps to reproduce
Resulting error |
|
@detiber, figured out the issue with the deployment. Kinda. The issue is that we're not specifying a default Two things come to mind...
|
|
It seems to be the latter. If instead of passing a model object to the create method, I pass a JSON request body with just the parameter values, it works. The default trigger and default se_linux_option _level are provided by the API. |
This PR uses the generation scripts to patch up the auth_settings configuration for the api classes.
There is still an issue with creating projects as a non-admin user, but this fixes the issue where the auth header was not being set.