Collection specific permission not working

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Collection specific permission not working

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.
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
Reply | Threaded
Open this post in threaded view
|

Re: Collection specific permission not working

Antony A
Just curious. Did you try by not making path variable as a list?

On Tue, Dec 4, 2018 at 11:15 AM yydpkm <[hidden email]> wrote:

> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Collection specific permission not working

yydpkm
Yes, I tried only /select. Doesn't work as well.



--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html