You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by dh...@apache.org on 2026/08/21 11:48:26 UTC

(ranger) 01/01: RANGER-5751 : service-config UI show duplicate entries for trino plugin

This is an automated email from the ASF dual-hosted git repository.

dhavaljrajpara pushed a commit to branch RANGER-5751
in repository https://gitbox.apache.org/repos/asf/ranger.git

commit 0e19ba63a3ad0833a11dcc75694e9d6baa038b63
Author: Dhaval Rajpara <dh...@gmail.com>
AuthorDate: Fri Aug 21 17:17:42 2026 +0530

    RANGER-5751 : service-config UI show duplicate entries for trino plugin
---
 .../src/main/resources/service-defs/ranger-servicedef-trino.json    | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/agents-common/src/main/resources/service-defs/ranger-servicedef-trino.json b/agents-common/src/main/resources/service-defs/ranger-servicedef-trino.json
index bc2bd5f2c..f438e8509 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-trino.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-trino.json
@@ -226,11 +226,7 @@
     { "itemId": 2, "name": "password",                    "type": "password", "mandatory": false, "label": "Password" },
     { "itemId": 3, "name": "jdbc.driverClassName",        "type": "string",   "defaultValue": "io.trino.jdbc.TrinoDriver", "mandatory": true },
     { "itemId": 4, "name": "jdbc.url",                    "type": "string",   "defaultValue": "", "mandatory": true },
-    { "itemId": 5, "name": "ranger.plugin.audit.filters", "type": "string",   "defaultValue": "[{'accessResult':'DENIED','isAudited':true},{'isAudited':false,'resources':{'queryid':{'values':['*']}},'accessTypes':['execute']},{'isAudited':false,'resources':{'trinouser':{'values':['{USER}']}},'accessTypes':['impersonate']}]" },
-    { "itemId": 6, "name": "ranger.plugin.super.users",   "type": "string",   "defaultValue": "trino", "label": "Superusers",               "description":  "Superusers will have full access to all resources in this Trino instance" },
-    { "itemId": 7, "name": "ranger.plugin.super.groups",  "type": "string",   "defaultValue": "trino", "label": "Superuser groups",         "description":  "Users in superuser groups will have full access to all resources in this Trino instance" },
-    { "itemId": 8, "name": "service.admin.users",         "type": "string",   "defaultValue": "trino", "label": "Service admin users",      "description":  "Service admin users can create policies for any resource in this Trino instance" },
-    { "itemId": 9, "name": "service.admin.groups",        "type": "string",   "defaultValue": "trino", "label": "Service admin usergroups", "description":  "Users in service admin usergroups can create policies for any resource in this Trino instance" }
+    { "itemId": 5, "name": "ranger.plugin.audit.filters", "type": "string",   "defaultValue": "[{'accessResult':'DENIED','isAudited':true},{'isAudited':false,'resources':{'queryid':{'values':['*']}},'accessTypes':['execute']},{'isAudited':false,'resources':{'trinouser':{'values':['{USER}']}},'accessTypes':['impersonate']}]" }
   ],
   "dataMaskDef": {
     "accessTypes": [