Skip to content

Commit 9183740

Browse files
committed
Check that the user has permission to the application
Signed-off-by: Richard Wall <richard.wall@jetstack.io>
1 parent 09ca6ae commit 9183740

File tree

5 files changed

+302
-28
lines changed

5 files changed

+302
-28
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tpp_test: get
6666
go tool cover -func=cov_tpp.out
6767

6868
fake_tpp_test: export MAKE := $(MAKE)
69-
fake_tpp_test: export WHAT := ^\(TestPingTPP\|TestRetrieveSelfIdentity\|TestGetRefreshToken\|TestGetRefreshTokenWithDefaultScope\|TestFailRefreshAccessToken\|TestRefreshAccessToken\)$$
69+
fake_tpp_test: export WHAT := ^\(TestPingTPP\|TestRetrieveSelfIdentity\|TestGetRefreshToken\|TestGetRefreshTokenWithDefaultScope\|TestFailRefreshAccessToken\|TestRefreshAccessToken\|TestRefreshAccessTokenNoClientID\|TestAuthenticationAccessToken\)$$
7070
fake_tpp_test:
7171
go test ./test/tpp/fake/... -count=1 -v
7272

go.mod

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require (
55
github.com/go-openapi/errors v0.20.3
66
github.com/go-openapi/strfmt v0.21.3
77
github.com/go-openapi/swag v0.22.3
8-
github.com/google/uuid v1.1.1
8+
github.com/google/uuid v1.1.2
99
github.com/howeyc/gopass v0.0.0-20170109162249-bf9dde6d0d2c
1010
github.com/pavel-v-chernykh/keystore-go/v4 v4.1.0
1111
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d
@@ -14,9 +14,10 @@ require (
1414
github.com/urfave/cli/v2 v2.1.1
1515
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a
1616
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d
17-
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
17+
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4
1818
gopkg.in/ini.v1 v1.51.0
1919
gopkg.in/yaml.v2 v2.4.0
20+
k8s.io/apimachinery v0.25.2
2021
software.sslmate.com/src/go-pkcs12 v0.0.0-20180114231543-2291e8f0f237
2122
)
2223

0 commit comments

Comments
 (0)