Skip to content

[BUG]: changing team role has side effects #2731

Closed

Description

@karmseveeratjisc

Describe the need

if you change a user from member to maintainer or vice versa the provider removes them and adds them back in (and in the case of maintainer promotes them). This has a side effect as the user briefly no longer has access to the repo and it e.g. unassigns them from PRs (and possibly other things)

if you do it via the UI it simply promotes or demotes you

SDK Version

No response

API Version

No response

Relevant log output

xxx_jisc – team.promote_maintainer
Promoted yyy_jisc to be maintainer of the repo/AAA team
United Kingdom 31 minutes ago …
View SSO details
@xxx_jisc@yyy_jisc	
xxx_jisc – team.add_member
Added yyy_jisc to the repo/AAA team
United Kingdom 31 minutes ago …
View SSO details
@xxx_jisc@yyy_jisc	
xxx_jisc – team.remove_member
Removed xxx_jisc from the repo/AAA team
United Kingdom 31 minutes ago …
View SSO details

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    Type: Feature
    Status: Triage
    on Aug 15, 2025
  2. deiga commented on Mar 22, 2026

    @deiga
    Collaborator

    Hey @karmseveeratjisc

    Is the behaviour with the latest provider version still the same?

    Please add reproduction steps, terraform configs and DEBUG level log output from your terraform apply to help debug this

  3. added
    Status: Needs info
    and removed
    Status: Triage
    on Mar 22, 2026
  4. added
    Type: Bug
    and removed
    Type: Feature
    Status: Needs info
    on Jun 22, 2026
  5. self-assigned this
    on Jun 22, 2026
  6. added this to the v6.13.0 milestone on Jun 22, 2026
  7. moved this from Backlog to In Progress in Terraform Provideron Jun 22, 2026
  8. moved this from In Progress to Done in Terraform Provideron Jun 22, 2026
  9. moved this from 🆕 Triage to ✅ Done in 🧰 Octokit Activeon Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: Bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions