Skip to content

Extend AccessCapabilities#26968

Merged
rosstimothy merged 1 commit intomasterfrom
tross/tsh_access_capabilties
May 26, 2023
Merged

Extend AccessCapabilities#26968
rosstimothy merged 1 commit intomasterfrom
tross/tsh_access_capabilties

Conversation

@rosstimothy
Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy commented May 25, 2023

tsh login was fetching each role for a user during login to perform calculations required to determine if auto access requests were required. To reduce some of the login latency this logic was moved to proto.AuthService/GetAccessCapabilities so that only a single RPC to Auth is required instead of one per role.

Partly addresses #21841

@rosstimothy rosstimothy force-pushed the tross/tsh_access_capabilties branch 2 times, most recently from 4a67733 to 70b20bd Compare May 26, 2023 13:21
`tsh login` was fetching each role for a user during login to perform
calculations required to determine if auto access requests were
required. To reduce some of the login latency this logic was moved
to `proto.AuthService/GetAccessCapabilities` so that only a single
RPC to Auth is required instead of one per role.
@rosstimothy rosstimothy force-pushed the tross/tsh_access_capabilties branch from 70b20bd to ccba59c Compare May 26, 2023 16:17
@rosstimothy rosstimothy marked this pull request as ready for review May 26, 2023 16:17
@rosstimothy rosstimothy requested a review from fspmarshall May 26, 2023 16:17
@github-actions github-actions Bot added size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels May 26, 2023
@github-actions github-actions Bot requested review from mdwn and timothyb89 May 26, 2023 16:17
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from timothyb89 May 26, 2023 16:41
@rosstimothy rosstimothy enabled auto-merge May 26, 2023 17:25
@rosstimothy rosstimothy added this pull request to the merge queue May 26, 2023
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 26, 2023
@rosstimothy rosstimothy added this pull request to the merge queue May 26, 2023
Merged via the queue into master with commit 2f78bf4 May 26, 2023
@rosstimothy rosstimothy deleted the tross/tsh_access_capabilties branch May 26, 2023 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants