SOLR-17584: Remove code and documentation for "trusted" configsets#3272
SOLR-17584: Remove code and documentation for "trusted" configsets#3272dsmiley merged 14 commits intoapache:mainfrom
Conversation
epugh
left a comment
There was a problem hiding this comment.
Two questions, how this looks very much in the right direction!
|
I triggered the various tests... Can you update the link in the description to have teh JIRA? that is how we link the PR to the JIRA. |
|
when posting a PR, please update the JIRA link. As to the rest of the PR template; remove it if you aren't going to fill it out (no judgement from me) |
gerlowskija
left a comment
There was a problem hiding this comment.
This looks great @abumarjikar! I knew the "trustedness" plumbing needing removing, but I had no idea there was so much.
I left a few comments inline, that I'm curious for feedback on from you and others. But otherwise this looks close to committing IMO!
dsmiley
left a comment
There was a problem hiding this comment.
Wow there's a lot to the notion of a "trusted" configSet. So glad to see you rid us of this maintenance burden!
dsmiley
left a comment
There was a problem hiding this comment.
Are there any ref-guide updates to do? I would assume so.
At a minimum, an update to major-changes-in-solr-10.adoc with a new "Security" section to explain that there is no longer a distinction of trusted configSets. They are all trusted; Solr should be protected (with authentication, authorization, etc.) so that only trusted users publish them with administrative level permissions.
|
@dsmiley Changes made in major changes doc file. Please review. |
dsmiley
left a comment
There was a problem hiding this comment.
Thanks! And of course a CHANGES.txt entry under 10.0 "Other" section is needed too.
# Conflicts: # solr/CHANGES.txt
dsmiley
left a comment
There was a problem hiding this comment.
Looks good to me! I'm happy to merge tomorrow, or sooner if @gerlowskija +1s.
# Conflicts: # solr/CHANGES.txt
gerlowskija
left a comment
There was a problem hiding this comment.
LGTM - go for it @dsmiley !
Thanks for the PR @abumarjikar. (Not sure if this is your first PR, but if so, congrats!)
|
Thanks @dsmiley and @gerlowskija for approval. @gerlowskija Thanks for considering the PR and Yes, this is my first PR. One last thing for this PR, can i get the approval for workflows? I could see this is waiting for approval "4 workflows awaiting approval". I guess after this i can merge this PR. |
All Configsets are now inherently "trusted". Co-authored-by: aumarjikar <[email protected]>
https://issues.apache.org/jira/browse/SOLR-17584
Description
This PR is targeting to remove use of trustedness check and references for configsets
Solution
The solution involved removing isConfigtrusted method and there references in other class wherever if check for trusted config flag
Tests
Please describe the tests you've developed or run to confirm this patch implements the feature or solves the problem.
Checklist
Please review the following and check all that apply:
mainbranch../gradlew check.