For deleting a branch, the "Delete Reference" permission is sufficient.
Bug: Issue 7490 Change-Id: Ic7f1bb9793ac42de6857da24149f2f3959259754
This commit is contained in:
@@ -201,7 +201,8 @@ public class ReceiveCommits {
|
||||
UPDATE(
|
||||
"You are not allowed to perform this operation.\n"
|
||||
+ "To push into this reference you need 'Push' rights."),
|
||||
DELETE("You need 'Push' rights with the 'Force Push'\nflag set to delete references."),
|
||||
DELETE("You need 'Delete Reference' rights or 'Push' rights with the \n"
|
||||
+ "'Force Push' flag set to delete references."),
|
||||
DELETE_CHANGES("Cannot delete from '" + REFS_CHANGES + "'"),
|
||||
CODE_REVIEW(
|
||||
"You need 'Push' rights to upload code review requests.\n"
|
||||
|
||||
Reference in New Issue
Block a user