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

change use of group parameter for PatchIdentityGroups #1423

Merged
merged 3 commits into from
Nov 11, 2024

Conversation

kian99
Copy link
Contributor

@kian99 kian99 commented Nov 6, 2024

Description

The group parameter passed to the PatchIdentityGroups method is a group ID not a group tag (i.e. not group-ID and instead just ID). This PR fixes that misinterpretation and fixes the issue that a user's groups couldn't be updated.

Fixes #1420
Fixes JUJU-7056

Engineering checklist

Check only items that apply

  • Documentation updated
  • Covered by unit tests
  • Covered by integration tests

The group parameter passed to the PatchIdentityGroups method is a group ID not a group tag (not group-ID and instead just ID).
This PR fixes that misinterpretation.
@kian99 kian99 requested a review from a team as a code owner November 6, 2024 10:52
@kian99 kian99 changed the title change interpretation of group parameter for PatchIdentityGroups change use of group parameter for PatchIdentityGroups Nov 6, 2024
Copy link
Contributor

@SimoneDutto SimoneDutto left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@ale8k ale8k left a comment

Choose a reason for hiding this comment

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

lgt

Copy link
Contributor

@ale8k ale8k left a comment

Choose a reason for hiding this comment

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

lgtm

@kian99 kian99 disabled auto-merge November 11, 2024 09:41
@kian99 kian99 added this pull request to the merge queue Nov 11, 2024
Merged via the queue into canonical:v3 with commit 4e82139 Nov 11, 2024
4 checks passed
@kian99 kian99 deleted the JUJU-7056-fix-patching-user-groups branch November 11, 2024 09:41
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.

ReBAC: User's groups can't be updated
4 participants