Skip to content

Commit

Permalink
invited users are modifiers (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-tspencer committed Apr 17, 2024
1 parent 6c8f46a commit 1cb0c69
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,14 @@ public static async Task CreateActionsAsync(MselEntity msel, CiteApiClient citeA
public static async Task AddUserToTeamAsync(Guid userId, Guid teamId, CiteApiClient citeApiClient, BlueprintContext blueprintContext, CancellationToken ct)
{
// create Cite TeamUsers
var citeTeamUser = new TeamUser(){TeamId = teamId, UserId = userId};
var citeTeamUser = new TeamUser() {
TeamId = teamId,
UserId = userId,
IsObserver = false,
CanIncrementMove = false,
CanModify = true,
CanSubmit = false
};
await citeApiClient.CreateTeamUserAsync(citeTeamUser, ct);
}

Expand Down

0 comments on commit 1cb0c69

Please sign in to comment.