mirror of
https://github.com/pgsty/minio.git
synced 2026-07-15 16:30:29 +03:00
Allow all browser calls to honor multi-users (#6645)
- GetAuth - SetAuth - GenerateAuth Disallow changing bucket level metadata or creating/deleting buckets.
This commit is contained in:
committed by
kannappanr
parent
ae3c05aa37
commit
2e81f27d27
@@ -205,11 +205,6 @@ func webTokenAuthenticate(token string) (jwtgo.StandardClaims, bool, error) {
|
||||
return claims, owner, nil
|
||||
}
|
||||
|
||||
func isHTTPRequestValid(req *http.Request) bool {
|
||||
_, _, err := webRequestAuthenticate(req)
|
||||
return err == nil
|
||||
}
|
||||
|
||||
// Check if the request is authenticated.
|
||||
// Returns nil if the request is authenticated. errNoAuthToken if token missing.
|
||||
// Returns errAuthentication for all other errors.
|
||||
|
||||
Reference in New Issue
Block a user