ANILA SOMAN
12/08/2022, 12:21 PM{
"policyKind": "resource",
"policies": [{
"apiVersion": "<http://api.cerbos.dev/v1|api.cerbos.dev/v1>",
"resourcePolicy": {
"version": "default",
"resource": "contact",
"scope": "airtel",
"rules": [{
"roles": "admin",
"actions": ["create", "update", "delete", "read", "list"],
"effect": "EFFECT_ALLOW"
}
]
}
}]
}
Charith (Cerbos)
12/08/2022, 12:28 PMpolicyKind
field https://docs.cerbos.dev/cerbos/latest/api/admin_api.html#_addupdate_policiesANILA SOMAN
12/09/2022, 4:26 AM