`{` `"policyKind": "resource",` `"policies": [{`...
# help
a
{
"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"
}
]
}
}]
}
c
Hey, is this a custom request type handled by your app? The Cerbos Admin API request doesn't have a
policyKind
field https://docs.cerbos.dev/cerbos/latest/api/admin_api.html#_addupdate_policies
a
Hi @Charith (Cerbos), we created this policy policyKind field is not mandatory i will remove that