Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
megahirt committed Sep 20, 2024
2 parents a892d98 + 9440327 commit 2be5da2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 117 deletions.
116 changes: 0 additions & 116 deletions .github/workflows/set-backlog-fields.yml

This file was deleted.

2 changes: 1 addition & 1 deletion src/Api/Model/Shared/Command/UserCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ public static function sendInvite(
// Verify authority of $invitingUser to invite someone of this role
$userIsAuthorized = false;
$invitingUserRole = $project->users[$invitingUserId]->role;
$authorizedRoles = [ProjectRoles::MANAGER];
$authorizedRoles = [ProjectRoles::MANAGER, ProjectRoles::TECH_SUPPORT];
if ($roleKey == ProjectRoles::MANAGER) {
$userIsAuthorized = in_array($invitingUserRole, $authorizedRoles);
}
Expand Down

0 comments on commit 2be5da2

Please sign in to comment.