Skip to content

ENG-3014 Fix setting role when changing team#395

Open
burnpiro wants to merge 1 commit intomainfrom
fix/eng-3014-fix-setting-team-role-when-changing-team
Open

ENG-3014 Fix setting role when changing team#395
burnpiro wants to merge 1 commit intomainfrom
fix/eng-3014-fix-setting-team-role-when-changing-team

Conversation

@burnpiro
Copy link
Contributor

@burnpiro burnpiro commented Feb 23, 2026

Note

Low Risk
Small CLI config change that only affects local config state; low risk aside from potentially storing an incorrect role if the team lookup fails or returns unexpected data.

Overview
Fixes missing role persistence when switching teams via config. prime config set-team-id now looks up the team’s role from the teams list and passes it into Config.set_team(...), so team_role is updated/cleared consistently with team_id (matching the login flow behavior).

Written by Cursor Bugbot for commit 70e67dc. This will update automatically on new commits. Configure here.

@burnpiro burnpiro requested review from JannikSt and d42me February 23, 2026 12:55
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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