Skip to content

Commit

Permalink
fixup! fixup! fixup! Fixes #24708: Groups node ids list in API is sti…
Browse files Browse the repository at this point in the history
…ll exhaustive even with restricted tenant access

Fixes #24708: Groups node ids list in API is still exhaustive even with restricted tenant access
  • Loading branch information
clarktsiory committed Apr 22, 2024
1 parent e7057b3 commit 710a1fd
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ import com.normation.rudder.domain.policies.RuleUid
import com.normation.rudder.domain.properties.GlobalParameter
import com.normation.rudder.domain.workflows.*
import com.normation.rudder.facts.nodes.ChangeContext
import com.normation.rudder.facts.nodes.QueryContext
import net.liftweb.common.*

case object WorkflowUpdate
Expand Down Expand Up @@ -225,7 +226,7 @@ trait WorkflowService {
currentUserRights: Seq[String],
currentStep: WorkflowNodeId,
isCreator: Boolean
): WorkflowAction
)(implicit qc: QueryContext): WorkflowAction

def findBackSteps(
currentUserRights: Seq[String],
Expand Down Expand Up @@ -278,7 +279,7 @@ class NoWorkflowServiceImpl(
currentUserRights: Seq[String],
currentStep: WorkflowNodeId,
isCreator: Boolean
): WorkflowAction = NoWorkflowAction
)(implicit qc: QueryContext): WorkflowAction = NoWorkflowAction

def findBackSteps(
currentUserRights: Seq[String],
Expand Down

0 comments on commit 710a1fd

Please sign in to comment.