Skip to content

Commit

Permalink
Add source field to debug information for better resolution informa…
Browse files Browse the repository at this point in the history
…tion
  • Loading branch information
josephschorr committed Jan 6, 2025
1 parent 99a97bc commit a7d9724
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions authzed/api/v1/debug.proto
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ message CheckDebugTrace {
// sub_problems holds the sub problems that were executed to resolve the answer to this Check. An empty list
// and a permissionship of PERMISSIONSHIP_HAS_PERMISSION indicates the subject was found within this relation.
SubProblems sub_problems = 7;

// source holds the source of the result. It is of the form:
// `<sourcetype>:<sourceid>`, where sourcetype can be, among others:
// `spicedb`, `materialize`, etc.
string source = 12;
}

// optional_expires_at is the time at which at least one of the relationships used to
Expand Down

0 comments on commit a7d9724

Please sign in to comment.