Compare commits

..

5 Commits

Author SHA1 Message Date
Daniel Herrmann
71d729dc01 Revert "refactor: move logic to create a team outside of Create and add additional parameter to control default admin behaviour"
All checks were successful
continuous-integration/drone/pr Build is passing
This reverts commit 3bad0afbc3.
2024-03-04 20:02:59 +01:00
Daniel Herrmann
3bad0afbc3 refactor: move logic to create a team outside of Create and add additional parameter to control default admin behaviour
Some checks failed
continuous-integration/drone/pr Build is failing
2024-03-04 19:14:21 +01:00
Daniel Herrmann
3bd427c870 fix: wording in error message
All checks were successful
continuous-integration/drone/pr Build is passing
2024-03-04 18:21:36 +01:00
Daniel Herrmann
ea04c6cbe3 fix: OIDC team IDs should be bound to an issuer
All checks were successful
continuous-integration/drone/pr Build is passing
This commit introduces changes to make sure that (a) the Team name is no longer used when comparing teams for existence and (b) the issuer if stored instead, as the oidcID is only guaranteed to be unique within the same provider
2024-03-04 16:52:08 +00:00
Daniel Herrmann
185e63baf0 fix: OIDC team comparison should not include the team name 2024-03-04 16:52:08 +00:00
2 changed files with 1 additions and 3 deletions

2
go.mod
View File

@ -71,7 +71,7 @@ require (
golang.org/x/oauth2 v0.17.0
golang.org/x/sync v0.6.0
golang.org/x/sys v0.18.0
golang.org/x/term v0.18.0
golang.org/x/term v0.17.0
golang.org/x/text v0.14.0
gopkg.in/d4l3k/messagediff.v1 v1.2.1
gopkg.in/yaml.v3 v3.0.1

2
go.sum
View File

@ -741,8 +741,6 @@ golang.org/x/term v0.16.0 h1:m+B6fahuftsE9qjo0VWp2FW0mB3MTJvR0BaMQrq0pmE=
golang.org/x/term v0.16.0/go.mod h1:yn7UURbUtPyrVJPGPq404EukNFxcm/foM+bV/bfcDsY=
golang.org/x/term v0.17.0 h1:mkTF7LCd6WGJNL3K1Ad7kwxNfYAW6a8a8QqtMblp/4U=
golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk=
golang.org/x/term v0.18.0 h1:FcHjZXDMxI8mM3nwhX9HlKop4C0YQvCVCdwYl2wOtE8=
golang.org/x/term v0.18.0/go.mod h1:ILwASektA3OnRv7amZ1xhE/KTR+u50pbXfZ03+6Nx58=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=