Allow deletion of open and abandoned changes

If a user includes some sensitive information in a change, admins
need to be able to delete it. Previously, only draft changes could be
deleted. Deleting merged changes isn't supported because we would
need to rewrite history.

Feature: Issue 4509
Change-Id: I6a5bf055257b3762271c61fdd82a349e24148be3
This commit is contained in:
Alice Kober-Sotzek
2016-10-19 14:23:03 +02:00
parent 5c7dbae701
commit 31c83332df
14 changed files with 409 additions and 75 deletions

View File

@@ -112,7 +112,7 @@ public interface ChangeApi {
void publish() throws RestApiException;
/**
* Deletes a draft change.
* Deletes a change.
*/
void delete() throws RestApiException;