-
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.
Fix client code and use resource-level authorization (#75)
* Fix client code and use resource-level authorization The provided client package was not using the correct authorization HTTP resource. This commit fixes that, and also removes tenant as a query param because we no longer need it to make authorization decisions. Signed-off-by: John Schaeffer <[email protected]> * Update pkg/client/v1/auth.go Co-authored-by: Mike Mason <[email protected]> Signed-off-by: John Schaeffer <[email protected]> * Update pkg/client/v1/auth.go Co-authored-by: Mike Mason <[email protected]> Signed-off-by: John Schaeffer <[email protected]> * remove unused path import Signed-off-by: Mike Mason <[email protected]> --------- Signed-off-by: John Schaeffer <[email protected]> Signed-off-by: John Schaeffer <[email protected]> Signed-off-by: Mike Mason <[email protected]> Co-authored-by: Mike Mason <[email protected]> Co-authored-by: Mike Mason <[email protected]>
- Loading branch information
1 parent
ea03a0b
commit 6ee45c4
Showing
2 changed files
with
26 additions
and
35 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