auth: Restore Authentication UI access (#108625)
Restore Authentication UI access
This commit is contained in:
@@ -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