Deepesh Joshi created RANGER-3803:
-------------------------------------
Summary: unable to create multiple security zone for solr with
admin resource
Key: RANGER-3803
URL: https://issues.apache.org/jira/browse/RANGER-3803
Project: Ranger
Issue Type: Bug
Components: Ranger
Affects Versions: 3.0.0
Reporter: Deepesh Joshi
For every operation on collection we require admin permission, so it is
required to add admin resource while creating a security zone for solr.
But currently if one solr security zone is created with admin resource, we
cannot create another security zone with admin resource. it gives error.
ranger admin log
{code:java}
2022-06-23 16:57:11,918 INFO org.apache.ranger.common.RESTErrorUtil: Operation
error.
response=VXResponse={org.apache.ranger.view.VXResponse@41572901statusCode={1}
msgDesc={(0) Validation failure: error code[3046], reason[Multiple
zones:[[newzone, zonsol]] match resource:[{admin=[collections]}]], field[null],
subfield[null], type[] (1) Validation failure: error code[3046],
reason[Multiple zones:[[newzone, zonsol]] match
resource:[{admin=[collections]}]], field[null], subfield[null], type[] }
messageList={null} }
javax.ws.rs.WebApplicationException
at
org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:56){code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)