Skip to content

Remove `if:` argument in before_action and alike when `only:` is also used

What does this MR do?

Closes #55564 (closed)

This is first discovered in https://gitlab.com/gitlab-org/gitlab-ce/issues/54739#note_122609857 that if both if: and only: are used in a before_action or after_action or alike, if: is completely ignored.

What are the relevant issue numbers?

55564

Does this MR meet the acceptance criteria?

Edited by George

Merge request reports