auth: Restore Authentication UI access (#108625)

Restore Authentication UI access
This commit is contained in:
linoman
2025-07-24 17:37:02 +00:00
committed by GitHub
parent e9b9618fb0
commit d578da7bc9
+3 -7
View File
@@ -301,13 +301,9 @@ export function getAppRoutes(): RouteDescriptor[] {
{
path: '/admin/authentication',
roles: () => contextSrv.evaluatePermission([AccessControlAction.SettingsWrite]),
component:
config.licenseInfo.enabledFeatures?.saml || config.ldapEnabled
? SafeDynamicImport(
() =>
import(/* webpackChunkName: "AdminAuthentication" */ '../features/auth-config/AuthProvidersListPage')
)
: () => <Navigate replace to="/admin" />,
component: SafeDynamicImport(
() => import(/* webpackChunkName: "AdminAuthentication" */ '../features/auth-config/AuthProvidersListPage')
),
},
{
path: '/admin/authentication/ldap',