Identity: Rename "namespace" to "type" in the requester interface (#90567)

This commit is contained in:
Ryan McKinley
2024-07-25 12:52:14 +03:00
committed by GitHub
parent 8cdf5ee824
commit 9db3bc926e
109 changed files with 649 additions and 632 deletions
@@ -11,13 +11,13 @@ import (
func TestBasicEncodeDecode(t *testing.T) {
before := &identity.StaticRequester{
UserID: 123,
UserUID: "abc",
Login: "test",
Namespace: identity.NamespaceUser,
OrgID: 456,
OrgName: "org",
OrgRole: identity.RoleAdmin,
UserID: 123,
UserUID: "abc",
Login: "test",
Type: identity.TypeUser,
OrgID: 456,
OrgName: "org",
OrgRole: identity.RoleAdmin,
}
auth := &Authenticator{}