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

Issue 506 | Gateway: fix permissions for save results #512

Merged
merged 1 commit into from
May 8, 2023

Conversation

IceKhan13
Copy link
Member

@IceKhan13 IceKhan13 commented May 8, 2023

Summary

Gateway: fix permissions for save results + update on JWT access fields

Details and comments

Closes #506

@IceKhan13 IceKhan13 added the bug Something isn't working label May 8, 2023
@IceKhan13 IceKhan13 added this to the 0.1 milestone May 8, 2023
@IceKhan13 IceKhan13 marked this pull request as ready for review May 8, 2023 17:30
@IceKhan13 IceKhan13 requested review from pacomf, Tansito and psschwei May 8, 2023 17:31
@IceKhan13 IceKhan13 merged commit 393f2f9 into main May 8, 2023
@IceKhan13 IceKhan13 deleted the issue-506/gateway-protect-save-results branch May 8, 2023 17:33
@@ -584,5 +584,5 @@ def _fetch_token(self, username: str, password: str):
if not gateway_response.ok:
raise QuantumServerlessException(gateway_response.text)

gateway_token = json.loads(gateway_response.text).get("access_token")
gateway_token = json.loads(gateway_response.text).get("access")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, when did the access_token keyword change to access?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One of the dependencies released a new major version which got pulled in for the latest builds. @IceKhan13 suggested we may want to pin the deps in #509 , +1 for me.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basically this comment #509 (comment)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes! I couldn't answer before due to the problems in GitHub haha. I skipped that comment, thank you team 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Result method should be protected
4 participants