[FIX] runbot_merge: show fw commands on forward ports

Since 94cf3e9647, FW is not limited to
reviewers. And it's been possible to set the fw policy on any forward
port pretty much since it was created (during commands rework /
formalisation).

However the help for the fw subcommands would only be shown on the
source PR, unnecessarily.
This commit is contained in:
Xavier Morel 2025-03-05 15:24:30 +01:00
parent fc651bd799
commit 4fe3da2f09

View File

@ -775,7 +775,7 @@ class PullRequests(models.Model):
(is_author or source_author) and self.reviewed_by and commands.Reject,
(is_author or source_author) and self.error and commands.Retry,
is_author and not self.source_id and commands.FW,
(is_author or source_author) and commands.FW,
is_author and commands.Limit,
source_author and self.source_id and commands.Close,