ShortURL: K8s Implement custom authorizer (#114192)

This commit is contained in:
Ezequiel Victorero
2025-11-25 16:34:10 -03:00
committed by GitHub
parent 6e0093f048
commit da374527f2
5 changed files with 35 additions and 10 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ func TestShortURL(t *testing.T) {
// Test that the endpoint is accessible with authentication.
username, password := "viewer", "viewer"
createUser(t, env.SQLStore, env.Cfg, user.CreateUserCommand{
DefaultOrgRole: string(org.RoleEditor),
DefaultOrgRole: string(org.RoleNone),
Password: user.Password(password),
Login: username,
})