support 'ldap:user' variable replacement properly (#10391)

also update `ldap.go` examples with latest
minio-go changes

Fixes #10367
This commit is contained in:
Harshavardhana
2020-08-31 23:56:22 -07:00
committed by GitHub
parent 9ffad7fceb
commit 4b6585d249
4 changed files with 36 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListBucket"
],
"Resource": [
"arn:aws:s3:::${ldap:user}"
]
}
]
}