Skip to content

Commit 158deeb

Browse files
Remove grant of OPERATE on the warehouse (#7560)
2 parents eb386df + 630d366 commit 158deeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

website/docs/docs/explore/external-metadata-ingestion.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ CREATE OR REPLACE ROLE dbt_metadata_role;
6868
2. Grant access to a warehouse to run queries to view metadata:
6969

7070
```sql
71-
GRANT OPERATE, USAGE ON WAREHOUSE "<your-warehouse>" TO ROLE dbt_metadata_role;
71+
GRANT USAGE ON WAREHOUSE "<your-warehouse>" TO ROLE dbt_metadata_role;
7272
```
7373

74+
If your warehouse needs to be restarted for metadata ingestions (doesn't have auto-resume enabled), you may need to grant `OPERATE` permissions to the role as well.
7475
If you do not already have a user, create a dbt-specific user for metadata access. Replace `<your-password>` with a strong password and `<your-warehouse>` with the warehouse name used above:
7576

7677
```sql

0 commit comments

Comments
 (0)