mirror of
https://github.com/minio/minio.git
synced 2024-12-24 06:05:55 -05:00
Allow policy bootstrapping with nil "Resource" (#14359)
This commit is contained in:
parent
ef8e952fc4
commit
f357f65d04
@ -8,10 +8,10 @@
|
||||
"Effect": "Allow",
|
||||
"Action": [
|
||||
"{{ $statement.actions | join "\",\n\"" }}"
|
||||
],
|
||||
]{{ if $statement.resources }},
|
||||
"Resource": [
|
||||
"{{ $statement.resources | join "\",\n\"" }}"
|
||||
]
|
||||
]{{ end }}
|
||||
}{{ if lt $i $statements_length }},{{end }}
|
||||
{{- end }}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user