Nimit
11/04/2022, 1:45 PM{
"apiVersion": "<http://api.cerbos.dev/v1|api.cerbos.dev/v1>",
"resourcePolicy": {
"resource": "*customers*",
"version": "default",
"rules": [
{
"actions": [
"CUS01",
"CUS02"
],
"roles": [
"*customer-user*"
],
"effect": "EFFECT_ALLOW"
},
{
"actions": [
"CUS11",
"CUS12"
]
],
"scope": "T8eeab29e-9622-48e6-967d-5137b485d8aa"
}
}
{
"apiVersion": "<http://api.cerbos.dev/v1|api.cerbos.dev/v1>",
"resourcePolicy": {
"resource": "*salh*",
"version": "default",
"rules": [
{
"actions": [
"SALH01",
"SALH02"
],
"roles": [
"*customer-user*"
],
"effect": "EFFECT_ALLOW"
}
"scope": "T8eeab29e-9622-48e6-967d-5137b485d8aa"
}
}
Charith (Cerbos)
11/04/2022, 1:59 PMNimit
11/04/2022, 2:03 PMCharith (Cerbos)
11/04/2022, 2:17 PMNimit
11/04/2022, 2:20 PMCharith (Cerbos)
11/04/2022, 2:22 PMactions
are actually customer identifiers?Nimit
11/04/2022, 2:22 PMCharith (Cerbos)
11/04/2022, 2:23 PMNimit
11/04/2022, 2:30 PMCharith (Cerbos)
11/04/2022, 2:33 PM