feat: specify org member roles in org setup (#3950)

This commit is contained in:
Livio Spring
2022-07-12 15:38:47 +02:00
committed by GitHub
parent 68f0114671
commit fa4bc47b3e
4 changed files with 11 additions and 1 deletions

View File

@@ -66,6 +66,7 @@ func (s *Server) SetUpOrg(ctx context.Context, req *admin_pb.SetUpOrgRequest) (*
Name: req.Org.Name,
CustomDomain: req.Org.Domain,
Human: human,
Roles: req.Roles,
}, userIDs...)
if err != nil {
return nil, err