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',
|
path: '/admin/authentication',
|
||||||
roles: () => contextSrv.evaluatePermission([AccessControlAction.SettingsWrite]),
|
roles: () => contextSrv.evaluatePermission([AccessControlAction.SettingsWrite]),
|
||||||
component:
|
component: SafeDynamicImport(
|
||||||
config.licenseInfo.enabledFeatures?.saml || config.ldapEnabled
|
() => import(/* webpackChunkName: "AdminAuthentication" */ '../features/auth-config/AuthProvidersListPage')
|
||||||
? SafeDynamicImport(
|
),
|
||||||
() =>
|
|
||||||
import(/* webpackChunkName: "AdminAuthentication" */ '../features/auth-config/AuthProvidersListPage')
|
|
||||||
)
|
|
||||||
: () => <Navigate replace to="/admin" />,
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/admin/authentication/ldap',
|
path: '/admin/authentication/ldap',
|
||||||
|
|||||||
Reference in New Issue
Block a user