mirror of
https://github.com/goharbor/harbor
synced 2025-04-15 20:30:36 +00: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