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

fix: associate allocation sessions with users #4949

Conversation

NicholasBlaskey
Copy link
Contributor

Description

#4905 assumed that using user session would be ok. I wasn't considering user sessions expiring to be an issue so switched back to using allocation sessions. This change associates allocation sessions with users so that they can use grpcutil.GetUser which is needed for RBAC to determined access for users.

Test Plan

Run an experiment and see no errors.

Commentary (optional)

Checklist

  • Changes have been manually QA'd
  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.
  • Licenses should be included for new code which was copied and/or modified from any external code.
  • If modifying /webui/react/src/shared/ verify make -C webui/react test-shared passes.

@netlify
Copy link

netlify bot commented Sep 2, 2022

Deploy Preview for storybook-det canceled.

Name Link
🔨 Latest commit bfab1cb
🔍 Latest deploy log https://app.netlify.com/sites/storybook-det/deploys/6317bccd484e810009005233

@netlify
Copy link

netlify bot commented Sep 2, 2022

Deploy Preview for determined-ui canceled.

Name Link
🔨 Latest commit bfab1cb
🔍 Latest deploy log https://app.netlify.com/sites/determined-ui/deploys/6317bccd7d7f4a0008ba77e8

@NicholasBlaskey NicholasBlaskey changed the title fix: allocation sessions are associated with users fix: associate allocation sessions users Sep 2, 2022
@NicholasBlaskey NicholasBlaskey changed the title fix: associate allocation sessions users fix: associate allocation sessions with users Sep 6, 2022
Copy link
Contributor

@mpkouznetsov mpkouznetsov left a comment

Choose a reason for hiding this comment

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

looks good

@NicholasBlaskey NicholasBlaskey merged commit e1971c8 into determined-ai:master Sep 6, 2022
thiagodallacqua-hpe pushed a commit to thiagodallacqua-hpe/determined that referenced this pull request Sep 14, 2022
@dannysauer dannysauer modified the milestones: 0.0.102, 0.19.3 Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants