[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:
co-authored by
linoman
parent
b60d5d502c
commit
0944b9eab8
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user