From 309141e97cdea591862026056e298975a0e3fc4b Mon Sep 17 00:00:00 2001 From: Dan Bason Date: Tue, 23 Feb 2021 14:49:05 +1300 Subject: [PATCH] Remove explicit userID --- cmd/project.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cmd/project.go b/cmd/project.go index 944872733..b670de7b3 100644 --- a/cmd/project.go +++ b/cmd/project.go @@ -222,9 +222,8 @@ func addProjectMemberRoles(ctx *cli.Context) error { for _, role := range roles { rtb := managementClient.ProjectRoleTemplateBinding{ - ProjectID: projectID, - RoleTemplateID: role, - UserPrincipalID: member.ID, + ProjectID: projectID, + RoleTemplateID: role, } if member.PrincipalType == "user" { rtb.UserPrincipalID = member.ID