dify/web/i18n/it-IT/app-api.json
Jyong 79116d8c4b feat(knowledge-fs): scope dataset API keys by knowledge base type
Legacy knowledge bases (`datasets`) and KnowledgeFS spaces
(`knowledge_fs_control_spaces`) live in different tables, so a dataset API
key binding could only ever name a legacy dataset and the KnowledgeFS service
API never consulted bindings at all: a key scoped to specific knowledge bases
still reached every KnowledgeFS space in the workspace.

- Bindings carry a `resource_type` (`dataset` | `knowledge_fs_space`) and a
  nullable `control_space_id` (migration 9a4e7d1c2b60, existing rows stay
  `dataset`), with a CHECK that exactly one id column matches the type.
- `dataset_api_key_service` exposes the key scope by kind, validates and
  binds KnowledgeFS spaces (tenant-owned, not deleting/deleted), and cleans up
  keys scoped only to a space when its deletion is requested. The orphan-key
  cleanup is now NULL-safe so a space binding keeps a key alive.
- Legacy dataset routes only honour `dataset` bindings; the KnowledgeFS
  authorization service only honours `knowledge_fs_space` bindings and raises
  a scope error that the service API maps to 403 (unknown keys stay 401).
- Console key creation accepts `knowledge_space_ids`; list/create responses
  return them next to `dataset_ids`.
- The web scope picker lists KnowledgeFS spaces alongside legacy datasets
  when KnowledgeFS is enabled and submits the ids by kind; the scope column
  counts both.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015zw5G5SX3HmVfnZof6YWAc
2026-09-03 05:59:39 -04:00

37 lines
2.0 KiB
JSON

{
"actionMsg.deleteConfirmTips": "Questa azione non può essere annullata.",
"actionMsg.deleteConfirmTitle": "Eliminare questa chiave segreta?",
"actionMsg.ok": "OK",
"apiKeyModal.addKnowledgeBase": "Aggiungi base di conoscenza",
"apiKeyModal.addSubtitle": "Crea una nuova Chiave API per accedere all'API delle basi di conoscenza.",
"apiKeyModal.addTitle": "Aggiungi Chiave API",
"apiKeyModal.apiSecretKey": "Chiave API",
"apiKeyModal.apiSecretKeyTips": "Per prevenire l'abuso dell'API, proteggi la tua chiave API. Evita di usarla come testo semplice nel codice front-end. :)",
"apiKeyModal.createNewSecretKey": "Crea nuova chiave segreta",
"apiKeyModal.created": "CREATA",
"apiKeyModal.generateTips": "Conserva questa chiave in un luogo sicuro e accessibile.",
"apiKeyModal.knowledgeBaseAccess": "Accesso alle basi di conoscenza",
"apiKeyModal.knowledgeSpaceBadge": "KnowledgeFS",
"apiKeyModal.lastUsed": "ULTIMO UTILIZZO",
"apiKeyModal.noKnowledgeBasesSelected": "Nessuna base di conoscenza ancora selezionata.",
"apiKeyModal.pickerKnowledgeSpaces": "Knowledge base KnowledgeFS",
"apiKeyModal.pickerLegacyDatasets": "Knowledge base legacy",
"apiKeyModal.scope": "AMBITO",
"apiKeyModal.scopeAllDatasets": "Tutte le basi di conoscenza",
"apiKeyModal.scopeAllDatasetsTip": "Questa chiave può accedere a tutte le basi di conoscenza nell'area di lavoro.",
"apiKeyModal.scopeCount": "{{count}} basi di conoscenza",
"apiKeyModal.scopeSpecificDatasets": "Basi di conoscenza specifiche",
"apiKeyModal.scopeSpecificDatasetsTip": "Questa chiave può accedere solo alle basi di conoscenza selezionate.",
"apiKeyModal.searchKnowledgeBases": "Cerca basi di conoscenza",
"apiKeyModal.secretKey": "Chiave Segreta",
"apiKeyModal.selectedKnowledgeBases": "Basi di conoscenza selezionate",
"apiKeyModal.selectedKnowledgeBasesCount": "Basi di conoscenza selezionate ({{count}})",
"copied": "Copiato",
"copy": "Copia",
"loading": "Caricamento",
"never": "Mai",
"pause": "Pausa",
"play": "Riproduci",
"playing": "In Riproduzione"
}