[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-05(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)"]]