Fatih Kaya
09/30/2021, 2:14 PM/check
endpoint? I set log level to DEBUG
but I want to see which the derived role user got while the authorization check process.Alex Olivier (Cerbos)
Alex Olivier (Cerbos)
"includeMeta": true
into the request to the check endpoint it will include more information about which policies matchedAlex Olivier (Cerbos)
{
"requestId": "test01",
"actions": [
"view"
],
"resource": {
"policyVersion": "dev",
"kind": "album:object",
"instances": {
"XX125": {
"attr": {
"owner": "alicia",
"id": "XX125",
"public": false,
"tags": [
"x",
"y"
],
"flagged": false
}
}
}
},
"principal": {
"id": "alicia",
"policyVersion": "dev",
"roles": [
"user"
],
"attr": {
"geography": "GB"
}
},
"includeMeta": true
}
Alex Olivier (Cerbos)
Fatih Kaya
09/30/2021, 2:46 PM"effectiveDerivedRoles": []
Now I need to figure out why my principal doesn't get the derived role that I expected.Alex Olivier (Cerbos)
Fatih Kaya
09/30/2021, 2:56 PMFatih Kaya
09/30/2021, 2:57 PMAlex Olivier (Cerbos)
request.resource.attr.campaign.owner
Fatih Kaya
09/30/2021, 3:00 PMAlex Olivier (Cerbos)
Alex Olivier (Cerbos)
Fatih Kaya
09/30/2021, 3:10 PMAlex Olivier (Cerbos)
Alex Olivier (Cerbos)
Charith (Cerbos)
Fatih Kaya
10/01/2021, 3:46 PM