mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-23 07:11:36 +01:00
403 means the project exists, but the user has no role to it
This commit is contained in:
parent
d78850fd1f
commit
c6f7c08206
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user