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

Default authorizer always allow health checks #3920

Merged
merged 2 commits into from
Feb 8, 2023
Merged

Conversation

dnr
Copy link
Member

@dnr dnr commented Feb 8, 2023

What changed?
Health checks should be explicitly allowed

Why?
So that system-level read isn't required for those operations

How did you test it?
unit test

Potential risks

Is hotfix candidate?

@dnr dnr requested a review from a team as a code owner February 8, 2023 19:52
@@ -37,7 +37,6 @@ var readOnlyNamespaceAPI = map[string]struct{}{
"QueryWorkflow": {},
"DescribeWorkflowExecution": {},
"DescribeTaskQueue": {},
"GetSystemInfo": {},
Copy link
Member

Choose a reason for hiding this comment

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

Should keep it here.

Copy link
Member Author

Choose a reason for hiding this comment

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

how about we move it to readOnlyGlobalAPI? it's not a namespace api at all

@dnr dnr merged commit 0da3d99 into temporalio:master Feb 8, 2023
@dnr dnr deleted the ife4 branch February 8, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants