Skip to content
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

[Security Solution] fix flashing authz on endpoint integration #130933

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

joeypoon
Copy link
Member

@joeypoon joeypoon commented Apr 25, 2022

Summary

Fix issue where no permissions message flashes on initial load of endpoint integration advanced tab
Issue: #130887

Checklist

For maintainers

@joeypoon joeypoon added release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution auto-backport Deprecated - use backport:version if exact versions are needed v8.3.0 v8.2.1 labels Apr 25, 2022
@joeypoon joeypoon requested a review from a team as a code owner April 25, 2022 21:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt)

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 4.8MB 4.8MB +104.0B

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@@ -106,7 +106,13 @@ export const EndpointPackageCustomExtension = memo<PackageCustomExtensionCompone
]
);

return canAccessEndpointManagement ? artifactCards : <NoPermissions />;
return loading ? (
<EuiLoadingSpinner data-test-subj="endpointExtensionLoadingSpinner" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you try using our Management loader instead? Not sure how it will looks under the advanced tab but it should put the loader in the middle of the empty page.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dasansol92 We have some code in that component to center the loader on the page because its mean to really be used inside of an entire page.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's true, good point!

Copy link
Contributor

@paul-tavares paul-tavares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢 it

@joeypoon joeypoon merged commit 823dec2 into elastic:main Apr 26, 2022
@joeypoon joeypoon deleted the fix/flashing-authz branch April 26, 2022 14:34
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.2 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.2:
- [Discover] Fix links in helper callouts (#130873)

Manual backport

To create the backport manually run:

node scripts/backport --pr 130933

Questions ?

Please refer to the Backport tool documentation

joeypoon added a commit to joeypoon/kibana that referenced this pull request Apr 26, 2022
…ic#130933)

(cherry picked from commit 823dec2)

# Conflicts:
#	x-pack/plugins/security_solution/public/management/pages/policy/view/ingest_manager_integration/endpoint_package_custom_extension/endpoint_package_custom_extension.test.tsx
#	x-pack/plugins/security_solution/public/management/pages/policy/view/ingest_manager_integration/endpoint_package_custom_extension/endpoint_package_custom_extension.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:skip Skip the PR/issue when compiling release notes Team:Defend Workflows “EDR Workflows” sub-team of Security Solution v8.2.1 v8.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants