Only show Revert submission for merged change
Change-Id: Ie1556c0c694f58f6586fccae5f03b20b640feb0f
This commit is contained in:
@@ -157,7 +157,7 @@ public class RevertSubmission
|
||||
"Revert this change and all changes that have been submitted together with this change")
|
||||
.setVisible(
|
||||
and(
|
||||
projectStatePermitsWrite,
|
||||
change.isMerged() && projectStatePermitsWrite,
|
||||
permissionBackend
|
||||
.user(rsrc.getUser())
|
||||
.ref(change.getDest())
|
||||
|
||||
Reference in New Issue
Block a user