[release-12.1.1] auth: Restore Authentication UI access (#108627)

auth: Restore Authentication UI access (#108625)

Restore Authentication UI access

(cherry picked from commit d578da7bc9)

Co-authored-by: linoman <2051016+linoman@users.noreply.github.com>
This commit is contained in:
grafana-delivery-bot[bot]
2025-07-24 21:05:56 +02:00
committed by GitHub
co-authored by linoman
parent b60d5d502c
commit 0944b9eab8
+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',