When I try to create a Python notebook in BigQuery, the following error appears:
You need permissions for this action. Required permission(s): All of dataform.repositories.create and aiplatform.notebookRuntimes.assign
The corresponding log is related to the creation of a Dataform repository:
{
"protoPayload": {
"@type": "type.googleapis.com/google.cloud.audit.AuditLog",
"status": {},
"authenticationInfo": {
"principalEmail": "@",
"principalSubject": "@"
},
"requestMetadata": {
"callerIp": "::1",
"requestAttributes": {
"time": "2024-05-24T06:16:34.186155496Z",
"auth": {}
},
"destinationAttributes": {}
},
"serviceName": "dataform.googleapis.com",
"methodName": "google.cloud.dataform.v1beta1.Dataform.CreateRepository",
"authorizationInfo": [
{
"resource": "projects//locations/us-central1/repositories/",
"permission": "dataform.repositories.create",
"granted": true,
"resourceAttributes": {
"service": "dataform.googleapis.com",
"name": "projects//locations/us-central1/repositories/*",
"type": "dataform.googleapis.com/Repository"
},
"permissionType": "ADMIN_WRITE"
}
],
"resourceName": "projects//locations/us-central1/repositories/",
"request": {
"@type": "type.googleapis.com/google.cloud.dataform.v1beta1.CreateRepositoryRequest"
},
"response": {
"@type": "type.googleapis.com/google.cloud.dataform.v1beta1.Repository"
},
"resourceLocation": {
"currentLocations": [
"us-central1"
]
}
},
"insertId": "8w91f2d11or",
"resource": {
"type": "audited_resource",
"labels": {
"project_id": "",
"service": "dataform.googleapis.com",
"method": "google.cloud.dataform.v1beta1.Dataform.CreateRepository"
}
},"timestamp": "2024-05-24T06:16:34.721140968Z",
"severity": "NOTICE",
"logName": "projects/**/logs/cloudaudit.googleapis.com%2Factivity",
"receiveTimestamp": "2024-05-24T06:16:34.814229479Z"
}
This account belongs to a Google Group, and this group has the following default roles assigned:
AI Platform Developer BigQuery Admin Dataflow Admin Dataform Admin Dataplex Administrator Storage Admin
The necessary permissions seem to be in place, but how can I resolve this issue and use the notebook?
I have added several permissions, but the situation has not changed.
日宇尚記 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.