AccessPath: Remove JSON_RPC

Change-Id: I92565c5346e9e74cfd5123e76d34c88bbffb61ac
This commit is contained in:
David Pursehouse
2018-11-17 09:33:51 -08:00
parent 6c8eb1bac0
commit 05e73e192f
2 changed files with 0 additions and 5 deletions

View File

@@ -22,9 +22,6 @@ public enum AccessPath {
/** Access through the REST API. */
REST_API,
/** Access through the old JSON-RPC interface. */
JSON_RPC,
/** Access by a web cookie. This path is not protected like REST_API. */
WEB_BROWSER,

View File

@@ -197,7 +197,6 @@ class RefControl {
case GIT:
return false;
case JSON_RPC:
case REST_API:
case SSH_COMMAND:
case UNKNOWN:
@@ -229,7 +228,6 @@ class RefControl {
case GIT:
return canPushWithForce() || canPerform(Permission.DELETE);
case JSON_RPC:
case REST_API:
case SSH_COMMAND:
case UNKNOWN: