Identity: extend k8s user.Info (#90937)

This commit is contained in:
Ryan McKinley
2024-07-30 08:27:23 +03:00
committed by GitHub
parent efda5a3ef2
commit 728150bdbd
26 changed files with 214 additions and 106 deletions

View File

@ -79,7 +79,8 @@ func TestPluginProxy(t *testing.T) {
&contextmodel.ReqContext{
SignedInUser: &user.SignedInUser{
Login: "test_user",
NamespacedID: identity.MustParseTypedID("user:1"),
FallbackType: identity.TypeUser,
UserID: 1,
},
Context: &web.Context{
Req: httpReq,