minio/pkg/policy
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
..
condition Fix policy bugs Null conditions and canonical names (#7021) 2018-12-26 02:03:28 -08:00
action_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
action.go Remove s3:ListObjects policy action to be in sync with AWS-S3 (#5875) 2018-05-02 12:13:17 +05:30
actionset_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
actionset.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
effect_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
effect.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
id_test.go Sid value can be any unicode character support it (#6676) 2018-10-23 16:11:06 +05:30
id.go Sid value can be any unicode character support it (#6676) 2018-10-23 16:11:06 +05:30
policy_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
policy.go Introduce STS client grants API and OPA policy integration (#6168) 2018-10-09 14:00:01 -07:00
principal_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
principal.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
resource_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
resource.go fix: export policy.Resource for remote RPC policy updates (#5941) 2018-05-16 16:17:00 -07:00
resourceset_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
resourceset.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
statement_test.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00
statement.go Enhance policy handling to support SSE and WORM (#5790) 2018-04-24 15:53:30 -07:00