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

Static host users - Add gRPC service #45292

Merged
merged 1 commit into from
Aug 16, 2024
Merged

Conversation

atburke
Copy link
Contributor

@atburke atburke commented Aug 8, 2024

This change adds the gRPC service for static host users (RFD 175).

Part of #42712.

@atburke atburke added the no-changelog Indicates that a PR does not require a changelog entry label Aug 8, 2024
@atburke atburke requested a review from rosstimothy August 8, 2024 21:51
@github-actions github-actions bot requested a review from greedy52 August 8, 2024 21:51
@github-actions github-actions bot requested a review from kimlisa August 8, 2024 21:51
@kimlisa kimlisa removed their request for review August 9, 2024 04:55
api/client/client.go Outdated Show resolved Hide resolved
api/client/client.go Outdated Show resolved Hide resolved
api/client/statichostuser/statichostuser.go Show resolved Hide resolved
lib/auth/statichostuser/service.go Show resolved Hide resolved
lib/auth/statichostuser/service.go Outdated Show resolved Hide resolved
lib/auth/test/authz.go Outdated Show resolved Hide resolved
Authorizer authz.Authorizer
// Backend is the backend used to store static host users.
Backend services.StaticHostUser
// TODO(atburke): add cache
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's also add a TODO in the places that are currently consuming from the backend that should be migrated to use the cache.

})
return err
},
allowVerbs: []string{types.VerbCreate, types.VerbUpdate},
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: do we want to have a upsert test with only one of these verb?

This change adds the gRPC service for static host users.
@atburke atburke force-pushed the atburke/static-user-grpc branch from ddfd4f3 to 0ce9b3c Compare August 14, 2024 22:13
@atburke atburke added this pull request to the merge queue Aug 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 14, 2024
@atburke atburke added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@atburke atburke added this pull request to the merge queue Aug 16, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Aug 16, 2024
@atburke atburke added this pull request to the merge queue Aug 16, 2024
Merged via the queue into master with commit 9f694a1 Aug 16, 2024
37 checks passed
@atburke atburke deleted the atburke/static-user-grpc branch August 16, 2024 20:34
@public-teleport-github-review-bot

@atburke See the table below for backport results.

Branch Result
branch/v16 Failed

atburke added a commit that referenced this pull request Sep 10, 2024
This change adds the gRPC service for static host users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v16 no-changelog Indicates that a PR does not require a changelog entry size/lg
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants