diff --git a/admin-ui/plugins/admin/components/CustomScripts/ScriptListPage.js b/admin-ui/plugins/admin/components/CustomScripts/ScriptListPage.js index f47adc287..33f7467ad 100644 --- a/admin-ui/plugins/admin/components/CustomScripts/ScriptListPage.js +++ b/admin-ui/plugins/admin/components/CustomScripts/ScriptListPage.js @@ -175,7 +175,7 @@ function ScriptListTable() { function handleGoToCustomScriptEditPage(row, edition) { dispatch(viewOnly(edition)) dispatch(setCurrentItem(row)) - return navigate(`/adm/script/edit:` + row.inum) + return navigate(`/adm/script/edit/:` + row.inum) } function handleCustomScriptDelete(row) { setItem(row) diff --git a/admin-ui/plugins/admin/plugin-metadata.js b/admin-ui/plugins/admin/plugin-metadata.js index 95a4e90be..15ad424e2 100644 --- a/admin-ui/plugins/admin/plugin-metadata.js +++ b/admin-ui/plugins/admin/plugin-metadata.js @@ -116,7 +116,7 @@ const pluginMetadata = { }, { component: CustomScriptEditPage, - path: PLUGIN_BASE_APTH + '/script/edit:id', + path: PLUGIN_BASE_APTH + '/script/edit/:id', permission: SCRIPT_READ, }, { diff --git a/admin-ui/plugins/auth-server/components/Clients/ClientListPage.js b/admin-ui/plugins/auth-server/components/Clients/ClientListPage.js index 8a5b4c3eb..5f28bf597 100644 --- a/admin-ui/plugins/auth-server/components/Clients/ClientListPage.js +++ b/admin-ui/plugins/auth-server/components/Clients/ClientListPage.js @@ -212,7 +212,7 @@ function ClientListPage() { function handleGoToClientEditPage(row, edition) { dispatch(viewOnly(edition)) dispatch(setCurrentItem(row)) - return navigate(`/auth-server/client/edit:` + row.inum.substring(0, 4)) + return navigate(`/auth-server/client/edit/:` + row.inum.substring(0, 4)) } function handleGoToClientAddPage() { return navigate('/auth-server/client/new') diff --git a/admin-ui/plugins/auth-server/components/Scopes/ScopeListPage.js b/admin-ui/plugins/auth-server/components/Scopes/ScopeListPage.js index cedce114b..fee89d64b 100644 --- a/admin-ui/plugins/auth-server/components/Scopes/ScopeListPage.js +++ b/admin-ui/plugins/auth-server/components/Scopes/ScopeListPage.js @@ -134,7 +134,7 @@ function ScopeListPage() { } function handleGoToScopeEditPage(row) { dispatch(setCurrentItem(row)) - return navigate(`/auth-server/scope/edit:` + row.inum) + return navigate(`/auth-server/scope/edit/:` + row.inum) } function handleScopeDelete(row) { diff --git a/admin-ui/plugins/auth-server/plugin-metadata.js b/admin-ui/plugins/auth-server/plugin-metadata.js index 8bdba1ad8..d9c87f76e 100644 --- a/admin-ui/plugins/auth-server/plugin-metadata.js +++ b/admin-ui/plugins/auth-server/plugin-metadata.js @@ -108,7 +108,7 @@ const pluginMetadata = { }, { component: ClientEditPage, - path: PLUGIN_BASE_APTH + '/client/edit:id', + path: PLUGIN_BASE_APTH + '/client/edit/:id', permission: CLIENT_WRITE, }, { @@ -123,7 +123,7 @@ const pluginMetadata = { }, { component: ScopeEditPage, - path: PLUGIN_BASE_APTH + '/scope/edit:id', + path: PLUGIN_BASE_APTH + '/scope/edit/:id', permission: SCOPE_WRITE, }, { diff --git a/admin-ui/plugins/schema/components/Person/AttributeListPage.js b/admin-ui/plugins/schema/components/Person/AttributeListPage.js index daa6395a3..7659224ac 100644 --- a/admin-ui/plugins/schema/components/Person/AttributeListPage.js +++ b/admin-ui/plugins/schema/components/Person/AttributeListPage.js @@ -97,11 +97,11 @@ function AttributeListPage() { } function handleGoToAttributeEditPage(row) { dispatch(setCurrentItem(row)) - return navigate(`/attribute/edit:` + row.inum) + return navigate(`/attribute/edit/:` + row.inum) } function handleGoToAttributeViewPage(row) { dispatch(setCurrentItem(row)) - return navigate(`/attribute/view:` + row.inum) + return navigate(`/attribute/view/:` + row.inum) } function handleAttribueDelete(row) { setItem(row) diff --git a/admin-ui/plugins/schema/plugin-metadata.js b/admin-ui/plugins/schema/plugin-metadata.js index 00b559a68..cb35236de 100644 --- a/admin-ui/plugins/schema/plugin-metadata.js +++ b/admin-ui/plugins/schema/plugin-metadata.js @@ -23,12 +23,12 @@ const pluginMetadata = { routes: [ { component: AttributeEditPage, - path: '/attribute/edit:gid', + path: '/attribute/edit/:gid', permission: ATTRIBUTE_WRITE, }, { component: AttributeViewPage, - path: '/attribute/view:gid', + path: '/attribute/view/:gid', permission: ATTRIBUTE_READ, }, { diff --git a/admin-ui/plugins/services/Components/Configuration/LdapListPage.js b/admin-ui/plugins/services/Components/Configuration/LdapListPage.js index 86236240f..6b7a88fe6 100644 --- a/admin-ui/plugins/services/Components/Configuration/LdapListPage.js +++ b/admin-ui/plugins/services/Components/Configuration/LdapListPage.js @@ -67,7 +67,7 @@ function LdapListPage({ function handleGoToLdapEditPage(row) { dispatch(setCurrentItem(row)) - return navigate(`/config/ldap/edit:` + row.configId) + return navigate(`/config/ldap/edit/:` + row.configId) } function handleLdapDelete(row) { diff --git a/admin-ui/plugins/services/Components/Configuration/SqlListPage.js b/admin-ui/plugins/services/Components/Configuration/SqlListPage.js index e9d2b7535..ff87b9c3f 100644 --- a/admin-ui/plugins/services/Components/Configuration/SqlListPage.js +++ b/admin-ui/plugins/services/Components/Configuration/SqlListPage.js @@ -64,7 +64,7 @@ function SqlListPage({ function handleGoToSqlEditPage(row) { dispatch(setCurrentItem(row)) - return navigate(`/config/sql/edit:` + row.configId) + return navigate(`/config/sql/edit/:` + row.configId) } function handleSqlDelete(row) { diff --git a/admin-ui/plugins/services/plugin-metadata.js b/admin-ui/plugins/services/plugin-metadata.js index 8aa6bcc02..981de7f55 100644 --- a/admin-ui/plugins/services/plugin-metadata.js +++ b/admin-ui/plugins/services/plugin-metadata.js @@ -70,7 +70,7 @@ const pluginMetadata = { }, { component: LdapEditPage, - path: '/config/ldap/edit:configId', + path: '/config/ldap/edit/:configId', permission: CACHE_WRITE, }, { @@ -85,7 +85,7 @@ const pluginMetadata = { }, { component: SqlEditPage, - path: '/config/sql/edit:configId', + path: '/config/sql/edit/:configId', permission: SQL_WRITE, }, { diff --git a/admin-ui/plugins/user-management/components/UserManagement/UserList.js b/admin-ui/plugins/user-management/components/UserManagement/UserList.js index 7b649c9b2..9444534a6 100644 --- a/admin-ui/plugins/user-management/components/UserManagement/UserList.js +++ b/admin-ui/plugins/user-management/components/UserManagement/UserList.js @@ -75,7 +75,7 @@ function UserList(props) { } function handleGoToUserEditPage(row) { dispatch(setSelectedUserData(row)) - return navigate(`/user/usermanagement/edit:` + row.tableData.uuid) + return navigate(`/user/usermanagement/edit/:` + row.tableData.uuid) } const [limit, setLimit] = useState(10) const [pattern, setPattern] = useState(null) diff --git a/admin-ui/plugins/user-management/plugin-metadata.js b/admin-ui/plugins/user-management/plugin-metadata.js index 9f18313e1..b4e4caa3c 100644 --- a/admin-ui/plugins/user-management/plugin-metadata.js +++ b/admin-ui/plugins/user-management/plugin-metadata.js @@ -29,7 +29,7 @@ const pluginMetadata = { }, { component: UserEditPage, - path: PLUGIN_BASE_APTH + '/usermanagement/edit:id', + path: PLUGIN_BASE_APTH + '/usermanagement/edit/:id', permission: USER_WRITE, }, ],