File tree 1 file changed +1
-16
lines changed
src/unify/data-graph/setup-guides
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -67,9 +67,7 @@ Run the following SQL to grant your Service Principal user read-only access to a
67
67
GRANT USAGE, SELECT , USE SCHEMA ON CATALOG ` ${catalog}` TO ` ${client_id}` ;
68
68
```
69
69
70
- ## (Optional) Step 5: Restrict read-only access
71
-
72
- ### Restrict read-only access to schemas
70
+ ## (Optional) Step 5: Restrict read-only access to schemas
73
71
74
72
Restrict access to specific schemas by running the following SQL:
75
73
@@ -79,19 +77,6 @@ USE CATALOG `${catalog}`;
79
77
GRANT USAGE, SELECT ON SCHEMA ` ${schema_1}` TO ` ${client_id}` ;
80
78
GRANT USAGE, SELECT ON SCHEMA ` ${schema_2}` TO ` ${client_id}` ;
81
79
...
82
- ```
83
- ### Restrict read-only access to tables
84
- Restrict access to specific tables by running the following SQL:
85
-
86
- ``` sql
87
- GRANT USAGE ON CATALOG ` ${catalog}` TO ` ${client_id}` ;
88
- USE CATALOG ` ${catalog}` ;
89
- GRANT USAGE ON SCHEMA ` ${schema_1}` TO ` ${client_id}` ;
90
- USE SCHEMA ` ${schema_1}` ;
91
- GRANT SELECT ON TABLE ` ${table_1}` TO ` ${client_id}` ;
92
- GRANT SELECT ON TABLE ` ${table_2}` TO ` ${client_id}` ;
93
- ...
94
-
95
80
```
96
81
97
82
## Step 6: Validate the permissions of your Service Principal user
You can’t perform that action at this time.
0 commit comments