Checking for access denied in web browser request. (#9523)

Fixes #9485
This commit is contained in:
P R
2020-05-06 21:31:44 -07:00
committed by GitHub
parent 7290d23b26
commit 7e3ea77fdf
2 changed files with 7 additions and 1 deletions

View File

@@ -92,3 +92,6 @@ var errIAMActionNotAllowed = errors.New("Specified IAM action is not allowed und
// error returned when access is denied.
var errAccessDenied = errors.New("Do not have enough permissions to access this resource")
// error returned when object is locked.
var errLockedObject = errors.New("Object is WORM protected and cannot be overwritten or deleted")