Skip to content

Commit

Permalink
[Serverless] Remove "userAndRoles" from es and security nav tree (ela…
Browse files Browse the repository at this point in the history
…stic#204740)

(cherry picked from commit 6f28942)
  • Loading branch information
sebelga committed Dec 19, 2024
1 parent e1bbd3e commit 94a9c8e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
4 changes: 0 additions & 4 deletions x-pack/plugins/serverless_search/public/navigation_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,6 @@ export const navigationTree = ({ isAppRegistered }: ApplicationStart): Navigatio
defaultMessage: 'Management',
}),
},
{
id: 'cloudLinkUserAndRoles',
cloudLink: 'userAndRoles',
},
{
id: 'cloudLinkDeployment',
cloudLink: 'deployment',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@ export const initSideNavigation = async (services: Services) => {
) as GroupDefinition;
if (footerGroup) {
footerGroup.title = PROJECT_SETTINGS_TITLE;
footerGroup.children.push(
{ cloudLink: 'userAndRoles', openInNewTab: true },
{ cloudLink: 'billingAndSub', openInNewTab: true }
);
footerGroup.children.push({ cloudLink: 'billingAndSub', openInNewTab: true });
}
})
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {

await solutionNavigation.sidenav.expectLinkExists({ text: 'Trained models' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Management' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Users and roles' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Performance' });
await solutionNavigation.sidenav.expectLinkExists({ text: 'Billing and subscription' });

Expand All @@ -300,7 +299,6 @@ export default function ({ getPageObject, getService }: FtrProviderContext) {
'project_settings_project_nav',
'ml:modelManagement',
'management',
'cloudLinkUserAndRoles',
'cloudLinkDeployment',
'cloudLinkBilling',
]);
Expand Down

0 comments on commit 94a9c8e

Please sign in to comment.