-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trusted project: respect intellij settings controlling project trustness #6521
trusted project: respect intellij settings controlling project trustness #6521
Conversation
Do not show dialogs to trust if trust checks are disabled in the intellij platform. Project creation code is handled in a custom way in bazel plugin because any project is trusted by default in intellij. However, bazel plugin always creates a fake project in .cl/ij/aswb folder, so the plugin should handle trust checks by itself.
is this related to #6490? |
yes it is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Thanks! It may be worth checking @tpasternak if TrustedProjects should come out of Internal status, most of this function could be replaced by other methods in that class |
Sorry I don't understand |
Right now https://github.com/JetBrains/intellij-community/blob/master/platform/platform-impl/src/com/intellij/ide/trustedProjects/TrustedProjects.kt#L14 |
do we need to add a similar check to |
We do not have any extensions for that EP so we do not need a check there to fix this issue. |
no because it does not ask for trust.
We can't use |
I checked this with gateway and I do not observe trust dialogs, so I'm moving forward to merge |
…ess (#6521) Do not show dialogs to trust if trust checks are disabled in the intellij platform. Project creation code is handled in a custom way in bazel plugin because any project is trusted by default in intellij. However, bazel plugin always creates a fake project in .cl/ij/aswb folder, so the plugin should handle trust checks by itself. fixes #6490 (cherry picked from commit 5cd93dc)
…ess (#6521) Do not show dialogs to trust if trust checks are disabled in the intellij platform. Project creation code is handled in a custom way in bazel plugin because any project is trusted by default in intellij. However, bazel plugin always creates a fake project in .cl/ij/aswb folder, so the plugin should handle trust checks by itself. fixes #6490 (cherry picked from commit 5cd93dc)
released in version 2024.06.04.0.3 |
Checklist
Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See
the Contributions section in the README for more
details.
Discussion thread for this change
Issue number:
<please reference the issue number or url here>
Description of this change
Do not show dialogs to trust if trust checks are disabled in the intellij platform. Project creation code is handled in a custom way in bazel plugin because any project is trusted by default in intellij. However, bazel plugin always creates a fake project in .cl/ij/aswb folder, so the plugin should handle trust checks by itself.