Skip to content

Commit bd8ea6f

Browse files
authored
[auth]ranger support grant storage vault and compute group auth (#2277)
1 parent 82aea7c commit bd8ea6f

File tree

6 files changed

+73
-0
lines changed

6 files changed

+73
-0
lines changed

docs/admin-manual/auth/authorization/ranger.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,25 @@ Equivalent to the internal Doris authorization statement `grant usage_priv on wo
9797

9898
![ Workload Group Permissions](/images/ranger/group1.png)
9999

100+
#### Compute Group Permissions
101+
102+
> Supported in version 3.0.6
103+
104+
Equivalent to the internal Doris authorization statement `grant usage_priv on compute group 'group1' to user1`;
105+
- The compute group option can be found in the dropdown box at the same level as the catalog.
106+
107+
![compute group](/images/ranger/compute-group.png)
108+
109+
#### Storage Vault Permissions
110+
111+
> Supported in version 3.0.6
112+
113+
Equivalent to the internal Doris authorization statement `grant usage_priv on storage vault 'vault1' to user1`;
114+
- The storage vault option can be found in the dropdown box at the same level as the catalog.
115+
116+
![storage vault](/images/ranger/storage-vault.png)
117+
118+
100119
### Row-Level Permissions Example
101120

102121
> Supported in version 2.1.3

i18n/zh-CN/docusaurus-plugin-content-docs/current/admin-manual/auth/authorization/ranger.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,24 @@ Ranger 的安装和配置见下文:安装和配置 Doris Ranger 插件
9797

9898
![group1](/images/ranger/group1.png)
9999

100+
#### Compute Group 权限
101+
102+
> 3.0.6 版本支持
103+
104+
相当于 Doris 内部授权语句的 `grant usage_priv on compute group 'group1' to user1`;
105+
- catalog 同级下拉框可以找到 compute group 选项
106+
107+
![compute group](/images/ranger/compute-group.png)
108+
109+
#### Storage Vault 权限
110+
111+
> 3.0.6 版本支持
112+
113+
相当于 Doris 内部授权语句的 `grant usage_priv on storage vault 'vault1' to user1`;
114+
- catalog 同级下拉框可以找到 storage vault 选项
115+
116+
![storage vault](/images/ranger/storage-vault.png)
117+
100118
### 行权限示例
101119

102120
> 2.1.3 版本支持

i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/admin-manual/auth/authorization/ranger.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,24 @@ Ranger 的安装和配置见下文:安装和配置 Doris Ranger 插件
9797

9898
![group1](/images/ranger/group1.png)
9999

100+
#### Compute Group 权限
101+
102+
> 3.0.6 版本支持
103+
104+
相当于 Doris 内部授权语句的 `grant usage_priv on compute group 'group1' to user1`;
105+
- catalog 同级下拉框可以找到 compute group 选项
106+
107+
![compute group](/images/ranger/compute-group.png)
108+
109+
#### Storage Vault 权限
110+
111+
> 3.0.6 版本支持
112+
113+
相当于 Doris 内部授权语句的 `grant usage_priv on storage vault 'vault1' to user1`;
114+
- catalog 同级下拉框可以找到 storage vault 选项
115+
116+
![storage vault](/images/ranger/storage-vault.png)
117+
100118
### 行权限示例
101119

102120
> 2.1.3 版本支持
344 KB
Loading
292 KB
Loading

versioned_docs/version-3.0/admin-manual/auth/authorization/ranger.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,24 @@ Equivalent to the internal Doris authorization statement `grant usage_priv on wo
9797

9898
![group1](/images/ranger/group1.png)
9999

100+
#### Compute Group Permissions
101+
102+
> Supported in version 3.0.6
103+
104+
Equivalent to the internal Doris authorization statement `grant usage_priv on compute group 'group1' to user1`;
105+
- The compute group option can be found in the dropdown box at the same level as the catalog.
106+
107+
![compute group](/images/ranger/compute-group.png)
108+
109+
#### Storage Vault Permissions
110+
111+
> Supported in version 3.0.6
112+
113+
Equivalent to the internal Doris authorization statement `grant usage_priv on storage vault 'vault1' to user1`;
114+
- The storage vault option can be found in the dropdown box at the same level as the catalog.
115+
116+
![storage vault](/images/ranger/storage-vault.png)
117+
100118
### Row-Level Permissions Example
101119

102120
> Supported in version 2.1.3

0 commit comments

Comments
 (0)