-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve tracing for permissions checks (#156)
* Enable OTLP for Jaeger, start using it Signed-off-by: John Schaeffer <[email protected]> * Provide better spans for allow/deny events This commit updates permissions checks to provide better spans for surfacing allow/deny events. In particular, it tries to enforce the following conventions: * Allow and deny are explicitly conveyed using permissions.outcome * Denials are not errors These two conventions combined help us differentiate between allows, denials, and problems communicating with SpiceDB. Signed-off-by: John Schaeffer <[email protected]> * Fix bad SpiceDB PSK in dev container Signed-off-by: John Schaeffer <[email protected]> * Remove spurious audience in OIDC config Signed-off-by: John Schaeffer <[email protected]> * Fix linting issues Signed-off-by: John Schaeffer <[email protected]> --------- Signed-off-by: John Schaeffer <[email protected]>
- Loading branch information
1 parent
b886dff
commit bbd541c
Showing
7 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
oidc: | ||
issuer: http://mock-oauth2-server:8081/default | ||
audience: permissions-api | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters