Die Zeilen in dieser Ansicht werden basierend auf den Berechtigungen der aktuellen Datenbankrolle für Modelle gefiltert. So können Hauptkonten nur die Rollen, Berechtigungen und Modelle sehen, auf die sie Zugriff haben.
Die Zeilenfilterung gilt auch für die folgenden modellverbundenen Ansichten:
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-17 (UTC)."],[],[],null,["# Fine-grained access control for models\n\nThis page explains how [fine-grained access control](/spanner/docs/fgac-about) works with Spanner\nmodels.\n\nFor fine-grained access control users, you can control access to MODEL entities\nwith the following privilege:\n\n- Grant `EXECUTE` on the model to allow [machine learning functions](/spanner/docs/reference/standard-sql/ml-functions) to use it.\n\n ### GoogleSQL\n\n ```\n GRANT EXECUTE ON MODEL MODEL_NAME TO ROLE ROLE_NAME;\n ```\n\n`INFORMATION_SCHEMA` views for models\n-------------------------------------\n\nThe following views show the database roles and privileges information for models:\n\n- GoogleSQL-dialect databases: [`INFORMATION_SCHEMA.MODEL_PRIVILEGES`](/spanner/docs/information-schema#model-privileges)\n\nThe rows in this view are filtered based on the current database role's\nprivileges on models. This ensures that principals can view only the\nroles, privileges, and models that they have access to.\n\nRow filtering also applies to the following model-related views: \n\n### GoogleSQL\n\n- [`INFORMATION_SCHEMA.MODELS`](/spanner/docs/information-schema#models)\n- [`INFORMATION_SCHEMA.MODEL_OPTIONS`](/spanner/docs/information-schema#model-options)\n- [`INFORMATION_SCHEMA.MODEL_COLUMNS`](/spanner/docs/information-schema#model-columns)\n- [`INFORMATION_SCHEMA.MODEL_COLUMN_OPTIONS`](/spanner/docs/information-schema#model-column-options)\n\nThe system role `spanner_info_reader` and its members always see an unfiltered\n`INFORMATION_SCHEMA`.\n\nMore information\n----------------\n\n- [About models](/spanner/docs/ml)\n- [Create and manage models](/spanner/docs/ml-tutorial)\n- [About fine-grained access control](/spanner/docs/fgac-about)"]]