From c6f7c0820628441ecbc20674cbe9eeb0ae4d000d Mon Sep 17 00:00:00 2001
From: Wenkai Yin <yinw@vmware.com>
Date: Fri, 15 Jul 2016 14:14:27 +0800
Subject: [PATCH] 403 means the project exists, but the user has no role to it

---
 job/replication/transfer.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/job/replication/transfer.go b/job/replication/transfer.go
index 7226883a4..82d986cad 100644
--- a/job/replication/transfer.go
+++ b/job/replication/transfer.go
@@ -256,7 +256,7 @@ func (c *Checker) projectExist() (exist, canWrite bool, err error) {
 		return
 	}
 
-	if resp.StatusCode == http.StatusUnauthorized {
+	if resp.StatusCode == http.StatusForbidden {
 		exist = true
 		return
 	}