Copilot commented on code in PR #772:
URL: https://github.com/apache/ranger/pull/772#discussion_r2644548864
##########
agents-common/src/test/resources/policyengine/test_aclprovider_default.json:
##########
@@ -8,415 +8,222 @@
"serviceDef": {
"name": "hive", "id": 3,
"resources": [
- { "name": "database", "level": 1, "mandatory": true,
"lookupSupported": true,
- "matcher":
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
- "matcherOptions": { "wildCard": true, "ignoreCase": true },
- "label": "Hive Database", "description": "Hive Database"
- },
- {
- "name": "table", "level": 2, "parent": "database", "mandatory":
true, "lookupSupported": true,
- "matcher":
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
- "matcherOptions": { "wildCard": true, "ignoreCase": true },
- "label": "Hive Table", "description": "Hive Table"
- },
- {
- "name": "udf", "level": 2, "parent": "database", "mandatory":
true, "lookupSupported": true,
- "matcher":
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
- "matcherOptions": { "wildCard": true, "ignoreCase": true },
- "label": "Hive UDF", "description": "Hive UDF"
- },
- {
- "name": "column", "level": 3, "parent": "table", "mandatory":
true, "lookupSupported": true,
- "matcher":
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
- "matcherOptions": { "wildCard": true, "ignoreCase": true },
- "label": "Hive Column", "description": "Hive Column"
- }
+ { "name": "database", "level": 1, "parewnt": "",
"mandatory": true, "lookupSupported": true, "matcher":
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
"matcherOptions": { "wildCard": true, "ignoreCase": true }, "label": "Hive
Database", "description": "Hive Database" },
Review Comment:
Corrected spelling of 'parent' from 'parewnt'.
```suggestion
{ "name": "database", "level": 1, "parent": "",
"mandatory": true, "lookupSupported": true, "matcher":
"org.apache.ranger.plugin.resourcematcher.RangerDefaultResourceMatcher",
"matcherOptions": { "wildCard": true, "ignoreCase": true }, "label": "Hive
Database", "description": "Hive Database" },
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]