mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-01 19:18:05 +00:00
Co-authored-by: Vivek Ratnavel Subramanian <vivekratnavel90@gmail.com>
This commit is contained in:
parent
7c387d6d54
commit
eeab12b0fc
@ -106,6 +106,7 @@ const MyAssetStats: FunctionComponent<Props> = ({
|
||||
count: countTeams,
|
||||
link: getTeamAndUserDetailsPath(),
|
||||
dataTestId: 'terms',
|
||||
adminOnly: true,
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@ -420,7 +420,12 @@ export const navLinkSettings = [
|
||||
{ name: 'Roles', to: '/roles', disabled: false, isAdminOnly: true },
|
||||
{ name: 'Services', to: '/services', disabled: false },
|
||||
{ name: 'Tags', to: '/tags', disabled: false },
|
||||
{ name: 'Teams & Users', to: ROUTES.TEAMS_AND_USERS, disabled: false },
|
||||
{
|
||||
name: 'Teams & Users',
|
||||
to: ROUTES.TEAMS_AND_USERS,
|
||||
disabled: false,
|
||||
isAdminOnly: true,
|
||||
},
|
||||
{ name: 'Webhooks', to: '/webhooks', disabled: false },
|
||||
];
|
||||
|
||||
|
||||
@ -150,7 +150,7 @@ const AuthenticatedAppRouter: FunctionComponent = () => {
|
||||
<Route exact component={ExplorePage} path={ROUTES.EXPLORE} />
|
||||
<Route component={ExplorePage} path={ROUTES.EXPLORE_WITH_SEARCH} />
|
||||
<Route component={ExplorePage} path={ROUTES.EXPLORE_WITH_TAB} />
|
||||
<Route
|
||||
<AdminProtectedRoute
|
||||
exact
|
||||
component={TeamsAndUsersPage}
|
||||
path={ROUTES.TEAMS_AND_USERS}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user