Discussion:
Collection specific permission not working
yydpkm
2018-12-04 15:36:50 UTC
Permalink
Hi,
I am using standalone Solr 7.4. Right now I have 2 collections A and B.
Users a and b. I want to let only a can read and query A, b can read and
query B. But it doesn't work. I have tried similar in
https://lucidworks.com/2017/04/14/securing-solr-tips-tricks-and-other-things-you-really-need-to-know/
but this doesn't work as well.
Right now I have:
{"name":"permissonA","collection":"A","path":["/query","/select","/get"],"role":
"readA"}
{"name":"permissonB","collection":"B","path":["/query","/select","/get"],"role":
"readB"}
But A still can access B and B can access A.

Where is wrong?

Thanks,
Rick




--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Antony A
2018-12-04 18:56:38 UTC
Permalink
Just curious. Did you try by not making path variable as a list?
Post by yydpkm
Hi,
I am using standalone Solr 7.4. Right now I have 2 collections A and B.
Users a and b. I want to let only a can read and query A, b can read and
query B. But it doesn't work. I have tried similar in
https://lucidworks.com/2017/04/14/securing-solr-tips-tricks-and-other-things-you-really-need-to-know/
but this doesn't work as well.
"readA"}
"readB"}
But A still can access B and B can access A.
Where is wrong?
Thanks,
Rick
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
yydpkm
2018-12-04 19:17:35 UTC
Permalink
Yes, I tried only /select. Doesn't work as well.



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
Continue reading on narkive:
Loading...