Skip to content

Commit

Permalink
Merge pull request #299 from dbason/fix-14974
Browse files Browse the repository at this point in the history
Remove explicit userID
  • Loading branch information
dramich authored Mar 5, 2021
2 parents d2f200c + 309141e commit 370d7fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cmd/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 370d7fc

Please sign in to comment.