minio/pkg
Harshavardhana 6695fd6a61
Add more context aware error for policy parsing errors (#8726)
In existing functionality we simply return a generic
error such as "MalformedPolicy" which indicates just
a generic string "invalid resource" which is not very
meaningful when there might be multiple types of errors
during policy parsing. This PR ensures that we send
these errors back to client to indicate the actual
error, brings in two concrete types such as

 - iampolicy.Error
 - policy.Error

Refer #8202
2020-01-03 11:28:52 -08:00
..
auth fix: temp credentials shouldn't allow policy/group changes (#8675) 2019-12-19 14:21:21 -08:00
bpool Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
certs Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
cgroup Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
color Bring in safe mode support (#8478) 2019-11-09 09:27:23 -08:00
console Fix dependencies graph for minio source compilation (#8717) 2019-12-31 09:36:13 +05:30
cpu Simplify and cleanup metadata r/w functions (#8146) 2019-09-11 22:52:12 +05:30
disk Add ability to test drive speeds on a MinIO setup (#7664) 2019-09-13 03:22:30 +05:30
dsync Add lock expiry handler to expire state locks (#8562) 2019-11-25 16:39:43 -08:00
ellipses Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
env Fix review comments and new changes in config (#8515) 2019-11-13 17:38:05 -08:00
event fix: Don't allow to set unconfigured notification ARNs (#8643) 2019-12-13 12:36:45 -08:00
handlers federation: Avoid printing context canceled error (#7997) 2019-07-31 11:08:10 -07:00
hash Turn off md5sum optionally if content-md5 is not set (#7609) 2019-05-08 18:35:40 -07:00
iam/policy Add more context aware error for policy parsing errors (#8726) 2020-01-03 11:28:52 -08:00
ioutil Fix typo in comments (#8704) 2019-12-27 15:51:32 +05:30
lifecycle Add bucket lifecycle expiry feature (#7834) 2019-08-09 10:02:41 -07:00
lock Start using new errors package (#8207) 2019-09-11 22:51:43 +05:30
madmin Add bucket and object count along with total object size (#8639) 2019-12-12 09:58:59 -08:00
mem Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
mimedb Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
mountinfo Cache Windows mount point info (#8572) 2019-11-27 20:10:13 +05:30
net Handle localhost distributed setups properly (#8577) 2019-11-26 11:42:10 -08:00
policy Add more context aware error for policy parsing errors (#8726) 2020-01-03 11:28:52 -08:00
pubsub Add admin API to send console log messages (#7784) 2019-09-03 23:40:48 +05:30
quick Start using error wrapping with fmt.Errorf (#8588) 2019-12-02 09:28:01 -08:00
s3select Comment typo "index max" to "index map" (#8700) 2019-12-24 21:57:43 -08:00
safe Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sync/errgroup Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
sys Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
trace Cleanup ResponseWriter function for audit and trace (#8283) 2019-09-24 02:04:28 +05:30
trie Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
wildcard Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
words Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00