generated from TrueCloudLab/basic
84c4872b20
All checks were successful
DCO action / DCO (pull_request) Successful in 1m11s
Tests and linters / Tests (1.20) (pull_request) Successful in 1m22s
Tests and linters / Tests (1.21) (pull_request) Successful in 1m29s
Tests and linters / Tests with -race (pull_request) Successful in 1m39s
Tests and linters / Staticcheck (pull_request) Successful in 1m40s
Tests and linters / Lint (pull_request) Successful in 2m29s
* Rename `ObjectType` to `Kind`; * Rename `Object` field in `Condition` to `ConditionKind`; * Regenerate easy-json marshalers/unmarshalers; * Fix unit-tests Signed-off-by: Airat Arifullin <aarifullin@yadro.com>
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"ID": "MmNjYTVhZTctY2VlOC00MjhkLWI0NWYtNTY3ZmIxZDAzZjAx",
|
|
"Rules": [
|
|
{
|
|
"Status": "AccessDenied",
|
|
"Actions": {
|
|
"Inverted": false,
|
|
"Names": [
|
|
"DeleteObject",
|
|
"GetContainer"
|
|
]
|
|
},
|
|
"Resources": {
|
|
"Inverted": false,
|
|
"Names": [
|
|
"native:object/*"
|
|
]
|
|
},
|
|
"Any": false,
|
|
"Condition": [
|
|
{
|
|
"Op": "StringEquals",
|
|
"Kind": "Request",
|
|
"Key": "$Actor:role",
|
|
"Value": "others"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Status": "QuotaLimitReached",
|
|
"Actions": {
|
|
"Inverted": true,
|
|
"Names": [
|
|
"PutObject"
|
|
]
|
|
},
|
|
"Resources": {
|
|
"Inverted": false,
|
|
"Names": [
|
|
"native:object//9LPLUFZpEmfidG4n44vi2cjXKXSqWT492tCvLJiJ8W1J/*"
|
|
]
|
|
},
|
|
"Any": true,
|
|
"Condition": [
|
|
{
|
|
"Op": "StringNotLike",
|
|
"Kind": "Resource",
|
|
"Key": "$Object:objectType",
|
|
"Value": "regular"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"Status": "100",
|
|
"Actions": {
|
|
"Inverted": false,
|
|
"Names": null
|
|
},
|
|
"Resources": {
|
|
"Inverted": false,
|
|
"Names": null
|
|
},
|
|
"Any": false,
|
|
"Condition": [
|
|
{
|
|
"Op": "255",
|
|
"Kind": "128",
|
|
"Key": "",
|
|
"Value": ""
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"MatchType": "FirstMatch"
|
|
}
|