minio/pkg/policy/condition
Harshavardhana 2db22deb93
Fix policy bugs Null conditions and canonical names (#7021)
This PR fixes two different issues

- Null condition implementation
- HTTP Canonical request value names

This PR fixes handling of null conditions and
handle HTTP canonical names in request values.

This PR was tested with policies mentioned in the following blog
https://aws.amazon.com/blogs/security/how-to-prevent-uploads-of-unencrypted-objects-to-amazon-s3/

Fixes #6955
2018-12-26 02:03:28 -08:00
..
func.go fix: Propagate bucket policy update in a distributed setup (#6135) 2018-07-09 02:18:48 -07:00
func_test.go Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
ipaddressfunc.go Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
ipaddressfunc_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
key.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
key_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
name.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
name_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
nullfunc.go Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
nullfunc_test.go Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
stringequalsfunc.go Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
stringequalsfunc_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
stringlikefunc.go Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
stringlikefunc_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
value.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
value_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
valueset.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
valueset_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00