mirror of
https://github.com/ferdzo/fs.git
synced 2026-04-05 08:46:24 +00:00
S3 compatibility and openapi spec.
This commit is contained in:
@@ -178,8 +178,6 @@ func (s *Service) AuthenticateRequest(r *http.Request) (RequestContext, error) {
|
||||
authType = "sigv4-presign"
|
||||
}
|
||||
|
||||
// Admin API authorization is enforced in admin handlers (bootstrap-only).
|
||||
// We still require valid SigV4 credentials here, but skip S3 action policy checks.
|
||||
if strings.HasPrefix(r.URL.Path, "/_admin/") {
|
||||
return RequestContext{
|
||||
Authenticated: true,
|
||||
|
||||
Reference in New Issue
Block a user