File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,24 @@ HttpResponse getAuthorization(
5656 String name)
5757```
5858
59+ ` getAuthorization ` [ finds the ID] ( #getResourceId ) of the given ` SecurableType ` and ` name ` .
60+
61+ ` getAuthorization ` [ finds the ID of the current principal] ( ../server-authorization/IdentityUtils.md#findPrincipalId ) .
62+
5963` getAuthorization ` ...FIXME
6064
65+ ---
66+
67+ ` getAuthorization ` is used when ` PermissionService ` is requested for the following authorizations:
68+
69+ * [ Catalog] ( #getCatalogAuthorization )
70+ * [ Function] ( #getFunctionAuthorization )
71+ * [ Metastore] ( #getMetastoreAuthorization )
72+ * [ RegisteredModel] ( #getRegisteredModelAuthorization )
73+ * [ Schema] ( #getSchemaAuthorization )
74+ * [ Table] ( #getTableAuthorization )
75+ * [ Volume] ( #getVolumeAuthorization )
76+
6177## Update Authorization { #updateAuthorization }
6278
6379``` java
@@ -68,3 +84,16 @@ HttpResponse updateAuthorization(
6884```
6985
7086` updateAuthorization ` ...FIXME
87+
88+ ## Get Metastore Authorization { #getMetastoreAuthorization }
89+
90+ ``` java
91+ HttpResponse getMetastoreAuthorization(
92+ String name)
93+ ```
94+
95+ ` getMetastoreAuthorization ` [ getAuthorization] ( #getAuthorization ) of the ` METASTORE ` securable type with the given ` name ` .
96+
97+ ---
98+
99+ ` getMetastoreAuthorization ` is used to handle ` GET /metastore/{name} ` requests.
You can’t perform that action at this time.
0 commit comments