input:
token:
sub: foo
group: tenant-admin
tenant: tn-3293298
method: GET
path: /v1/saga/
{
"metadata": {
"name": "tenant-admin",
"annotations": {
"desc": "an annotation"
}
},
"spec": {
"resources": [
"/v1/payments/*",
"/v2/wallet/*",
"/v1/saga/*"
],
"verbs": [
"GET",
"PUT",
"POST",
"PATCH",
"DELETE"
]
}
}
{
"metadata": {
"name": "tenant-admin-group",
"annotations": {
"desc": "an annotation"
}
},
"spec": {
"kind": "Group",
"roleRef": {
"kind": "Tenant",
"name": "tenant-admin"
}
}
}