-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rbac) include Negative when marshaling RBAC
Include the Negative field when marshaling RBAC types to JSON. The RBAC entity and endpoint permissions types have custom JSON marshalers to account for differences between Kong's GET output and the expected inputs to PUT/PATCH/POST: https://github.com/Kong/go-kong/pull/5/files#r495600736 Previously, these marshalers omitted the Negative fields, so requests outbound from go-kong would never set Negative, and it would always be the default (false). Fix FTI-2405
- Loading branch information
Travis Raines
committed
Mar 30, 2021
1 parent
1b573f2
commit 146b85d
Showing
3 changed files
with
8 additions
and
0 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