Skip to content

Commit

Permalink
Merge pull request #7405 from osandamaleesha/pre-update-password
Browse files Browse the repository at this point in the history
Enable pre update password action in console
  • Loading branch information
ashanthamara authored Jan 26, 2025
2 parents f1e288f + 9faae3a commit 0b73dc2
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-yaks-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/admin.actions.v1": patch
---

Enable pre update password action in console
11 changes: 11 additions & 0 deletions apps/console/src/configs/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,17 @@ export const getAppViewRoutes = (): RouteInterface[] => {
path: AppConstants.getPaths().get("PRE_ISSUE_ACCESS_TOKEN_EDIT"),
protected: true,
showOnSidePanel: false
},
{
component: lazy(() =>
import("@wso2is/admin.actions.v1/pages/action-configuration-page")
),
exact: true,
id: "pre-update-password",
name: "Pre Update Password",
path: AppConstants.getPaths().get("PRE_UPDATE_PASSWORD_EDIT"),
protected: true,
showOnSidePanel: false
}
],
component: lazy(() =>
Expand Down
2 changes: 1 addition & 1 deletion features/admin.actions.v1/pages/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export const ActionTypesListingPage: FunctionComponent<ActionTypesListingPageInt
},
{
description: t("actions:types.preUpdatePassword.description.shortened"),
disabled: true,
disabled: false,
featureStatusKey: FeatureFlagConstants.FEATURE_FLAG_KEY_MAP.ACTIONS_TYPES_PRE_UPDATE_PASSWORD,
heading: t("actions:types.preUpdatePassword.heading"),
icon: <PadlockAsteriskFlowIcon size="small" className="icon"/>,
Expand Down
4 changes: 3 additions & 1 deletion features/admin.core.v1/constants/app-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,9 @@ export class AppConstants {
[ "ACTIONS",
`${AppConstants.getAdminViewBasePath()}/actions` ],
[ "PRE_ISSUE_ACCESS_TOKEN_EDIT",
`${ AppConstants.getAdminViewBasePath()}/actions/pre-issue-access-token` ],
`${AppConstants.getAdminViewBasePath()}/actions/pre-issue-access-token` ],
[ "PRE_UPDATE_PASSWORD_EDIT",
`${AppConstants.getAdminViewBasePath()}/actions/pre-update-password` ],
[ "TENANTS", `${AppConstants.getDefaultLayoutBasePath()}/organizations` ],
[ "EDIT_TENANT", `${AppConstants.getDefaultLayoutBasePath()}/organizations/:id` ],
[ "SYSTEM_SETTINGS", `${AppConstants.getDefaultLayoutBasePath()}/organizations/system-settings` ],
Expand Down

0 comments on commit 0b73dc2

Please sign in to comment.