Skip to content

Commit

Permalink
Update x-pack/plugins/infra/public/components/logging/log_analysis_se…
Browse files Browse the repository at this point in the history
…tup/user_management_link.tsx

Co-authored-by: Felix Stürmer <[email protected]>
  • Loading branch information
Kerry350 and weltenwort authored Feb 16, 2021
1 parent 63cecc6 commit 1f0dd6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const UserManagementLink: React.FunctionComponent<EuiButtonProps> = (prop
application: { capabilities },
},
} = useKibanaContextForPlugin();
const canAccessUserManagement = capabilities?.management?.security?.users;
const canAccessUserManagement = capabilities?.management?.security?.users ?? false;

const linkProps = useLinkProps({
app: 'management',
Expand Down

0 comments on commit 1f0dd6b

Please sign in to comment.