Clarify error msg when user's not allowed to '--force push'.

Fix: More descriptive error message when the user tries
to 'Force Push' without having the correct privileges.

Change-Id: I009e3fc50fb316ce94526af5f76da554bd91eccf
This commit is contained in:
Bruce Zu
2011-10-17 16:09:02 +08:00
committed by Gustaf Lundh
parent 9f9829e7ec
commit 5c6323436f
4 changed files with 6 additions and 9 deletions

View File

@@ -15,6 +15,7 @@
package com.google.gerrit.common.data;
public class PermissionRule implements Comparable<PermissionRule> {
public static final String FORCE_PUSH = "Force Push";
public static enum Action {
ALLOW, DENY, BLOCK,