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

dineshkumar 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 ac76738e5 RANGER-4556:policy creation without resource is being 
allowed through rest api
ac76738e5 is described below

commit ac76738e56787e5a0a5d4f945f9dec6e240e3579
Author: Dineshkumar Yadav <[email protected]>
AuthorDate: Thu Nov 23 15:22:54 2023 +0530

    RANGER-4556:policy creation without resource is being allowed through rest 
api
    
    Signed-off-by: Dineshkumar Yadav <[email protected]>
---
 .../src/main/resources/service-defs/ranger-servicedef-hive.json          | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/agents-common/src/main/resources/service-defs/ranger-servicedef-hive.json 
b/agents-common/src/main/resources/service-defs/ranger-servicedef-hive.json
index ab8ca5c92..6d47eda2d 100644
--- a/agents-common/src/main/resources/service-defs/ranger-servicedef-hive.json
+++ b/agents-common/src/main/resources/service-defs/ranger-servicedef-hive.json
@@ -129,6 +129,7 @@
                        "type": "string",
                        "level": 10,
                        "parent": "",
+                       "mandatory": true,
                        "lookupSupported": false,
                        "recursiveSupported": false,
                        "excludesSupported": false,

Reply via email to