Skip to content

Commit

Permalink
Merge branch 'branches/rudder/8.0' into branches/rudder/8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fanf committed Feb 5, 2024
2 parents 44cb28e + 879adae commit 9de74b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class TwoValidationStepsWorkflowServiceImpl(
}

private def canDeploy(isCreator: Boolean, selfDeployment: () => Box[Boolean]): Boolean = {
val correctActor = selfDeployment().getOrElse(false) || isCreator
val correctActor = selfDeployment().getOrElse(false) || !isCreator
correctActor && userService.getCurrentUser.checkRights(AuthorizationType.Deployer.Edit)
}

Expand Down

0 comments on commit 9de74b9

Please sign in to comment.