Skip to content

Static host users - Add gRPC service#45292

Merged
atburke merged 1 commit intomasterfrom
atburke/static-user-grpc
Aug 16, 2024
Merged

Static host users - Add gRPC service#45292
atburke merged 1 commit intomasterfrom
atburke/static-user-grpc

Conversation

@atburke
Copy link
Copy Markdown
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
Comment thread api/client/client.go Outdated
Comment thread api/client/client.go Outdated
Comment thread api/client/statichostuser/statichostuser.go
Comment thread lib/auth/statichostuser/service.go
Comment thread lib/auth/statichostuser/service.go
Comment thread lib/auth/test/authz.go Outdated
Authorizer authz.Authorizer
// Backend is the backend used to store static host users.
Backend services.StaticHostUser
// TODO(atburke): add cache
Copy link
Copy Markdown
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.

Comment thread lib/services/local/statichostuser.go Outdated
Comment thread lib/auth/statichostuser/service.go
Comment thread lib/auth/statichostuser/service.go
})
return err
},
allowVerbs: []string{types.VerbCreate, types.VerbUpdate},
Copy link
Copy Markdown
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
@atburke atburke deleted the atburke/static-user-grpc branch August 16, 2024 20:34
@public-teleport-github-review-bot
Copy link
Copy Markdown

@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

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