You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by rm...@apache.org on 2020/03/04 19:21:48 UTC
[ranger] branch master updated: RANGER-2750:Permission alter has to
be there for TOPIC and CLUSTER resource in RangerKafkaPlugin ServiceDef
This is an automated email from the ASF dual-hosted git repository.
rmani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git
The following commit(s) were added to refs/heads/master by this push:
new fec8ed6 RANGER-2750:Permission alter has to be there for TOPIC and CLUSTER resource in RangerKafkaPlugin ServiceDef
fec8ed6 is described below
commit fec8ed65861997e6141c302be3cbab0861fec072
Author: Ramesh Mani <ra...@gmail.com>
AuthorDate: Wed Mar 4 10:48:26 2020 -0800
RANGER-2750:Permission alter has to be there for TOPIC and CLUSTER resource in RangerKafkaPlugin ServiceDef
---
.../main/resources/service-defs/ranger-servicedef-kafka.json | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json
index 0fcdbb5..6ea52f7 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-kafka.json
@@ -25,7 +25,7 @@
"uiHint":"",
"label":"Topic",
"description":"Topic",
- "accessTypeRestrictions": ["create", "delete", "configure", "alter_configs", "describe", "describe_configs", "consume", "publish"]
+ "accessTypeRestrictions": ["create", "delete", "configure", "alter", "alter_configs", "describe", "describe_configs", "consume", "publish"]
},
{
"itemId":2,
@@ -57,7 +57,7 @@
},
"label":"Cluster",
"description":"Cluster",
- "accessTypeRestrictions": ["create", "configure", "alter_configs", "describe", "describe_configs", "kafka_admin", "idempotent_write", "cluster_action"]
+ "accessTypeRestrictions": ["create", "configure", "alter", "alter_configs", "describe", "describe_configs", "kafka_admin", "idempotent_write", "cluster_action"]
},
{
"itemId":4,
@@ -135,6 +135,7 @@
"delete",
"describe_configs",
"alter_configs",
+ "alter",
"idempotent_write",
"cluster_action"
]
@@ -174,6 +175,11 @@
"itemId":13,
"name":"cluster_action",
"label":"Cluster Action"
+ },
+ {
+ "itemId":14,
+ "name":"alter",
+ "label":"Alter"
}
],
"configs":[