diff --git a/change-validation/src/main/scala/com/normation/plugins/changevalidation/WorkflowService.scala b/change-validation/src/main/scala/com/normation/plugins/changevalidation/WorkflowService.scala index f42ceb4e9..75140669b 100644 --- a/change-validation/src/main/scala/com/normation/plugins/changevalidation/WorkflowService.scala +++ b/change-validation/src/main/scala/com/normation/plugins/changevalidation/WorkflowService.scala @@ -131,7 +131,7 @@ object TwoValidationStepsWorkflowServiceImpl { } private def canDeploy(isCreator: Boolean, selfDeployment: () => Box[Boolean]): Boolean = { - val correctActor = selfDeployment().getOrElse(false) || isCreator + val correctActor = selfDeployment().getOrElse(false) || !isCreator correctActor && CurrentUser.checkRights(AuthorizationType.Deployer.Edit) }