You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Harshavardhana
88714e7c8e
bucketpolicy: Improve bucket policy validation, avoid nested rules.
Bucket policy validation is more stricter now, to avoid nested
rules. The reason to do this is keep the rules simpler and more
meaningful avoiding conflicts.
This patch implements stricter checks.
Example policy to be generally avoided.
```
{
"Version": "2012-10-17",
"Statement": [
{
"Action": [
"s3:GetObject",
"s3:DeleteObject"
],
"Effect": "Allow",
"Principal": {
"AWS": [
"*"
]
},
"Resource": [
"arn:aws:s3:::jarjarbing/*"
]
},
{
"Action": [
"s3:GetObject",
"s3:DeleteObject"
],
"Effect": "Deny",
"Principal": {
"AWS": [
"*"
]
},
"Resource": [
"arn:aws:s3:::jarjarbing/restic/key/*"
]
}
]
}
```
|
9 years ago |
.. |
atomic
|
build/vet: Fix all the shadowing reports with go1.6
|
9 years ago |
crypto
|
cpu: Remove pkg/cpu in favor of better klauspost/cpuid.
|
9 years ago |
disk
|
ioutils: Add tests
|
9 years ago |
erasure
|
build/vet: Fix all the shadowing reports with go1.6
|
9 years ago |
fs
|
pkg/fs: optimize GetObject syscalls for common case
|
9 years ago |
mimedb
|
setBucketMetadata: Fix a deadlock.
|
9 years ago |
minhttp
|
xl: Moved to minio/minio - fixes #1112
|
9 years ago |
probe
|
cleanup: Remove definitions and move them to its relative places accordingly
|
9 years ago |
quick
|
xl: Moved to minio/minio - fixes #1112
|
9 years ago |
s3/signature4
|
bucketpolicy: Improve bucket policy validation, avoid nested rules.
|
9 years ago |
tasker
|
xl: Moved to minio/minio - fixes #1112
|
9 years ago |
xl
|
build/vet: Fix all the shadowing reports with go1.6
|
9 years ago |