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