Re: Protect a collection to be deleted

2017-12-13 Thread Anshum Gupta
From what I remember, you can set a custom permission for a specific user to be able to delete a collection, or not allow anyone to delete a specific collection. Check out the “user defined permissions” section here: https://lucidworks.com/2015/08/17/securing-solr-basic-auth-permission-rules/

Re: Protect a collection to be deleted

2017-12-13 Thread Shawn Heisey
On 12/12/2017 1:23 PM, Anshum Gupta wrote: > You might want to explore Rule based authorization in Solr and stop > non-admin users from deleting collections etc. Here’s the link to the > documentation:  > https://lucene.apache.org/solr/guide/6_6/rule-based-authorization-plugin.html  Because I've n

Re: Protect a collection to be deleted

2017-12-13 Thread Yago Riveiro
t; > Hi, > > > > Is it possible in Solr protect a collection to be deleted through a > > property? > > > > Regards > > > > > > > > > > - > > Best regards > > > > /Yago > > -- > > Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >

Re: Protect a collection to be deleted

2017-12-12 Thread Anshum Gupta
sed-authorization-plugin.html> -Anshum > On Dec 12, 2017, at 9:27 AM, Yago Riveiro wrote: > > Hi, > > Is it possible in Solr protect a collection to be deleted through a > property? > > Regards > > > > > - > Best regards > > /Yago > --

Re: Protect a collection to be deleted

2017-12-12 Thread Yago Riveiro
/12/2017 10:27 AM, Yago Riveiro wrote: > > Is it possible in Solr protect a collection to be deleted through a > > property? > > I doubt that this is possible at the moment. > > The suggestion from Markus to change permissions on the index files > would prevent the actual i

Re: Protect a collection to be deleted

2017-12-12 Thread Shawn Heisey
On 12/12/2017 10:27 AM, Yago Riveiro wrote: > Is it possible in Solr protect a collection to be deleted through a > property? I doubt that this is possible at the moment. The suggestion from Markus to change permissions on the index files would prevent the actual index from being deleted,

RE: Protect a collection to be deleted

2017-12-12 Thread Yago Riveiro
ay 12th December 2017 18:28 > > To: solr-user@lucene.apache.org > > Subject: Protect a collection to be deleted > > > > Hi, > > > > Is it possible in Solr protect a collection to be deleted through a > > property? > > > > Regards > > >

RE: Protect a collection to be deleted

2017-12-12 Thread Markus Jelsma
can check if the numRows of the proposed delete query is equals to the number of documents. Regards, Markus -Original message- > From:Yago Riveiro > Sent: Tuesday 12th December 2017 18:28 > To: solr-user@lucene.apache.org > Subject: Protect a collection to be deleted >

Protect a collection to be deleted

2017-12-12 Thread Yago Riveiro
Hi, Is it possible in Solr protect a collection to be deleted through a property? Regards - Best regards /Yago -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html