diff --git a/backend/internal/handler/dev_handler_test.go b/backend/internal/handler/dev_handler_test.go index edc1513f..7647b30c 100644 --- a/backend/internal/handler/dev_handler_test.go +++ b/backend/internal/handler/dev_handler_test.go @@ -23,16 +23,20 @@ func (m *MockKetoService) CheckPermission(ctx context.Context, subject, namespac args := m.Called(ctx, subject, namespace, object, relation) return args.Bool(0), args.Error(1) } + func (m *MockKetoService) CreateRelation(ctx context.Context, namespace, object, relation, subject string) error { return m.Called(ctx, namespace, object, relation, subject).Error(0) } + func (m *MockKetoService) DeleteRelation(ctx context.Context, namespace, object, relation, subject string) error { return m.Called(ctx, namespace, object, relation, subject).Error(0) } + func (m *MockKetoService) ListRelations(ctx context.Context, namespace, object, relation, subject string) ([]service.RelationTuple, error) { args := m.Called(ctx, namespace, object, relation, subject) return args.Get(0).([]service.RelationTuple), args.Error(1) } + func (m *MockKetoService) ListObjects(ctx context.Context, namespace, relation, subject string) ([]string, error) { args := m.Called(ctx, namespace, relation, subject) return args.Get(0).([]string), args.Error(1) diff --git a/locales/en.toml b/locales/en.toml index 79dbcf4f..34f59690 100644 --- a/locales/en.toml +++ b/locales/en.toml @@ -248,6 +248,7 @@ note = "Note" load_error = "Error loading client: {{error}}" loading = "Loading client..." saved = "Saved" +save_error = "Failed to save: {{error}}" [msg.dev.clients.general.identity] logo_help = "Logo Help" diff --git a/locales/ko.toml b/locales/ko.toml index a8392019..a26268f5 100644 --- a/locales/ko.toml +++ b/locales/ko.toml @@ -248,6 +248,7 @@ note = "엔드포인트는 읽기 전용으로 유지하고, 비밀키 재발행 load_error = "Error loading client: {{error}}" loading = "Loading client..." saved = "설정이 저장되었습니다." +save_error = "저장 실패: {{error}}" [msg.dev.clients.general.identity] logo_help = "인증 화면에 표시될 PNG/SVG URL입니다." diff --git a/locales/template.toml b/locales/template.toml index 40dbc74b..f11f6cbd 100644 --- a/locales/template.toml +++ b/locales/template.toml @@ -248,6 +248,7 @@ note = "" load_error = "" loading = "" saved = "" +save_error = "" [msg.dev.clients.general.identity] logo_help = "" @@ -1063,8 +1064,8 @@ name = "" delete = "" [ui.dev.clients.general.security] -confidential = "" -public = "" +private = "" +pkce = "" title = "" [ui.dev.clients.help] @@ -1097,8 +1098,8 @@ status = "" type = "" [ui.dev.clients.type] -confidential = "" -public = "" +private = "" +pkce = "" [ui.dev.dashboard] ready_badge = ""