IAM: Implement the update method for team bindings (#112788)

* implement the update method for team bindings

* fix lint error

* add integration tests

* add integration test for non existing team binding

* try to fix lint error
This commit is contained in:
Mihai Doarna
2025-10-23 11:39:38 +03:00
committed by GitHub
parent 24d3c88c09
commit 3076f7a9b9
12 changed files with 592 additions and 4 deletions
+1
View File
@@ -37,6 +37,7 @@ type LegacyIdentityStore interface {
CreateTeamMember(ctx context.Context, ns claims.NamespaceInfo, cmd CreateTeamMemberCommand) (*CreateTeamMemberResult, error)
ListTeamBindings(ctx context.Context, ns claims.NamespaceInfo, query ListTeamBindingsQuery) (*ListTeamBindingsResult, error)
ListTeamMembers(ctx context.Context, ns claims.NamespaceInfo, query ListTeamMembersQuery) (*ListTeamMembersResult, error)
UpdateTeamMember(ctx context.Context, ns claims.NamespaceInfo, cmd UpdateTeamMemberCommand) (*UpdateTeamMemberResult, error)
}
var _ LegacyIdentityStore = (*legacySQLStore)(nil)