Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI for the XACML Connector #7313

Merged
merged 90 commits into from
Jan 17, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
7591344
Add policy administration feature
adibmbrk Jan 7, 2025
9f1579e
Refactor folder structure and add API request configs
adibmbrk Jan 7, 2025
44a37d2
Fix edit policy page path params
adibmbrk Jan 7, 2025
d7be5bf
Revert changes made in script editor panel
adibmbrk Jan 9, 2025
44f1b75
Add update policy use case
adibmbrk Jan 10, 2025
768a6f5
Add delete policy use case
adibmbrk Jan 11, 2025
0866786
Fix typo
adibmbrk Jan 11, 2025
27b68d6
Add create policy
adibmbrk Jan 11, 2025
f6c3023
Refactor policy algorithm list
adibmbrk Jan 16, 2025
89a17df
Add API for publishing a policy
adibmbrk Jan 16, 2025
97143ad
Refactor the code to resolve ESlint issues
adibmbrk Jan 16, 2025
64538f8
Merge upstream/master into policy-administration-feature
adibmbrk Jan 16, 2025
f5e3634
Revert "Merge upstream/master into policy-administration-feature"
adibmbrk Jan 16, 2025
69e56a9
Merge remote-tracking branch 'upstream/master' into policy-administra…
JeethJJ Jan 16, 2025
1463149
Update dnd imports and fix errors
JeethJJ Jan 16, 2025
575fe18
Add droppable container for active policies.
JeethJJ Jan 17, 2025
5a5577a
Add changeset
JeethJJ Jan 17, 2025
af80c83
Disable feature.
JeethJJ Jan 17, 2025
5a8bde3
Update .changeset/witty-ants-allow.md
JeethJJ Jan 17, 2025
1b5a9b1
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
7edadd1
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
2a8b596
Update features/admin.policy-administration.v1/api/updateAlgorithm.ts
JeethJJ Jan 17, 2025
03effab
Update features/admin.policy-administration.v1/package.json
JeethJJ Jan 17, 2025
bcf981a
Update features/admin.policy-administration.v1/pages/edit-policy.scss
JeethJJ Jan 17, 2025
109dd35
Update features/admin.policy-administration.v1/pages/edit-policy.scss
JeethJJ Jan 17, 2025
d371c27
Update features/admin.policy-administration.v1/pages/edit-policy.tsx
JeethJJ Jan 17, 2025
58b15e2
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
930d89e
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
02de66d
Update features/admin.policy-administration.v1/api/updateAlgorithm.ts
JeethJJ Jan 17, 2025
b864914
Update features/admin.policy-administration.v1/api/useGetAlgorithm.ts
JeethJJ Jan 17, 2025
94def66
Update features/admin.policy-administration.v1/api/useGetAlgorithm.ts
JeethJJ Jan 17, 2025
89ea7bb
Update features/admin.policy-administration.v1/api/useGetPolicies.ts
JeethJJ Jan 17, 2025
721fcf1
Update modules/i18n/src/translations/en-US/portals/policy-administrat…
JeethJJ Jan 17, 2025
324d5c4
Update modules/i18n/src/translations/en-US/portals/policy-administrat…
JeethJJ Jan 17, 2025
0e5b486
Update modules/i18n/src/models/namespaces/policy-administration-ns.ts
JeethJJ Jan 17, 2025
225b86a
Update modules/i18n/src/models/namespaces/policy-administration-ns.ts
JeethJJ Jan 17, 2025
5364ea2
Remove unused button
adibmbrk Jan 17, 2025
477fd5a
Fix comments.
JeethJJ Jan 17, 2025
a0530af
Merge branch 'policy-administration-feature' of https://github.com/Je…
JeethJJ Jan 17, 2025
0cf54c9
Merge branch 'policy-administration-feature' into feat/xacml
JeethJJ Jan 17, 2025
6531c1a
Merge pull request #1 from adibmbrk/feat/xacml
JeethJJ Jan 17, 2025
7e6de80
Update features/admin.core.v1/package.json
JeethJJ Jan 17, 2025
27a3b31
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
2b9135e
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
1b4085d
Update features/admin.policy-administration.v1/api/entitlement-polici…
JeethJJ Jan 17, 2025
df8f45a
Update features/admin.policy-administration.v1/api/updateAlgorithm.ts
JeethJJ Jan 17, 2025
1b1b5a6
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
e0d5541
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
1d0da6c
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
15779bc
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
cb5de33
Fix comments
JeethJJ Jan 17, 2025
785b262
Merge branch 'policy-administration-feature' of https://github.com/Je…
JeethJJ Jan 17, 2025
ad63bbe
Fix comments and add changeset.
JeethJJ Jan 17, 2025
b36a664
Merge remote-tracking branch 'upstream/master' into policy-administra…
JeethJJ Jan 17, 2025
7a554b3
Update features/admin.policy-administration.v1/components/edit-policy…
pavinduLakshan Jan 17, 2025
d51892a
Update features/admin.policy-administration.v1/components/edit-policy…
pavinduLakshan Jan 17, 2025
da98488
Update features/admin.policy-administration.v1/api/updateAlgorithm.ts
JeethJJ Jan 17, 2025
bd0aaed
Update features/admin.policy-administration.v1/api/updateAlgorithm.ts
JeethJJ Jan 17, 2025
b61b9ce
Update features/admin.policy-administration.v1/api/updateAlgorithm.ts
JeethJJ Jan 17, 2025
a1b5d61
Fix comments
JeethJJ Jan 17, 2025
7b97909
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
27408fd
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
ae08e74
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
3c3edb0
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
ef00883
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
1ecb521
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
57e5665
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
f51b4a0
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
1344868
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
336211e
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
a0cecd0
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
3d6584c
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
5a0ea89
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
5afa392
Update features/admin.policy-administration.v1/components/policy-admi…
pavinduLakshan Jan 17, 2025
8460f31
Update features/admin.policy-administration.v1/components/policy-edit…
pavinduLakshan Jan 17, 2025
d230070
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
0011639
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
0f09aa3
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
f296fb9
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
4657800
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
46f330e
Update features/admin.policy-administration.v1/components/policy-admi…
JeethJJ Jan 17, 2025
be749ce
Update features/admin.policy-administration.v1/components/policy-edit…
JeethJJ Jan 17, 2025
7789450
Update features/admin.policy-administration.v1/components/policy-edit…
JeethJJ Jan 17, 2025
3d2eb30
Update features/admin.policy-administration.v1/components/edit-policy…
JeethJJ Jan 17, 2025
faeb2ac
Update features/admin.policy-administration.v1/rollup.config.cjs
JeethJJ Jan 17, 2025
aa799b7
Update features/admin.policy-administration.v1/types/imports.d.ts
JeethJJ Jan 17, 2025
9a4a63b
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
b08d38b
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
86610e0
Update features/admin.policy-administration.v1/components/policy-list…
JeethJJ Jan 17, 2025
563925f
Update features/admin.policy-administration.v1/components/wizard/new-…
JeethJJ Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions .changeset/new-teachers-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
---
"@wso2is/admin.identity-verification-providers.v1": patch
"@wso2is/admin.remote-repository-configuration.v1": patch
"@wso2is/admin.alternative-login-identifier.v1": patch
"@wso2is/admin.authentication-flow-builder.v1": patch
"@wso2is/admin.organization-discovery.v1": patch
"@wso2is/admin.policy-administration.v1": patch
"@wso2is/admin.server-configurations.v1": patch
"@wso2is/admin.saml2-configuration.v1": patch
"@wso2is/admin.username-validation.v1": patch
"@wso2is/admin.wsfed-configuration.v1": patch
"@wso2is/admin.identity-providers.v1": patch
"@wso2is/admin.session-management.v1": patch
"@wso2is/admin.workflow-approvals.v1": patch
"@wso2is/admin.remote-userstores.v1": patch
"@wso2is/admin.console-settings.v1": patch
"@wso2is/admin.email-management.v1": patch
"@wso2is/admin.email-providers.v1": patch
"@wso2is/admin.email-templates.v1": patch
"@wso2is/admin.private-key-jwt.v1": patch
"@wso2is/admin.administrators.v1": patch
"@wso2is/admin.api-resources.v1": patch
"@wso2is/admin.api-resources.v2": patch
"@wso2is/admin.authorization.v1": patch
"@wso2is/admin.email-and-sms.v1": patch
"@wso2is/admin.impersonation.v1": patch
"@wso2is/admin.login-flow.ai.v1": patch
"@wso2is/admin.organizations.v1": patch
"@wso2is/admin.sms-providers.v1": patch
"@wso2is/admin.sms-templates.v1": patch
"@wso2is/admin.applications.v1": patch
"@wso2is/admin.certificates.v1": patch
"@wso2is/admin.feature-gate.v1": patch
"@wso2is/admin.org-insights.v1": patch
"@wso2is/admin.provisioning.v1": patch
"@wso2is/admin.subscription.v1": patch
"@wso2is/admin.branding.ai.v1": patch
"@wso2is/admin.connections.v1": patch
"@wso2is/admin.oidc-scopes.v1": patch
"@wso2is/admin.extensions.v1": patch
"@wso2is/admin.userstores.v1": patch
"@wso2is/admin.validation.v1": patch
"@wso2is/common.branding.v1": patch
"@wso2is/admin.branding.v1": patch
"@wso2is/admin.actions.v1": patch
"@wso2is/admin.secrets.v1": patch
"@wso2is/admin.tenants.v1": patch
"@wso2is/admin.claims.v1": patch
"@wso2is/admin.groups.v1": patch
"@wso2is/react-components": patch
"@wso2is/admin.roles.v1": patch
"@wso2is/admin.roles.v2": patch
"@wso2is/admin.users.v1": patch
"@wso2is/admin.core.v1": patch
"@wso2is/admin.home.v1": patch
"@wso2is/admin.logs.v1": patch
"@wso2is/common.ai.v1": patch
"@wso2is/dynamic-forms": patch
"@wso2is/identity-apps-core": patch
"@wso2is/myaccount": patch
"@wso2is/console": patch
"@wso2is/i18n": patch
"@wso2is/features": patch
---

Bump oxygen version
10 changes: 10 additions & 0 deletions .changeset/witty-ants-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@wso2is/admin.policy-administration.v1": major
"@wso2is/react-components": patch
"@wso2is/admin.core.v1": patch
"@wso2is/console": patch
"@wso2is/i18n": patch
"@wso2is/features": patch
---

Introduce policyAdministration UI.
pavinduLakshan marked this conversation as resolved.
Show resolved Hide resolved
5 changes: 3 additions & 2 deletions apps/console/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.actions.v1": "^1.7.40",
"@wso2is/admin.administrators.v1": "^2.29.83",
Expand Down Expand Up @@ -77,6 +77,7 @@
"@wso2is/admin.private-key-jwt.v1": "^2.25.83",
"@wso2is/admin.remote-repository-configuration.v1": "^2.25.83",
"@wso2is/admin.impersonation.v1": "^1.6.83",
"@wso2is/admin.policy-administration.v1": "^0.0.0",
"@wso2is/admin.remote-userstores.v1": "^1.7.39",
"@wso2is/admin.roles.v1": "^2.25.83",
"@wso2is/admin.roles.v2": "^2.27.27",
Expand Down
25 changes: 25 additions & 0 deletions apps/console/src/configs/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,31 @@ export const getAppViewRoutes = (): RouteInterface[] => {
protected: true,
showOnSidePanel: true
},
{
category: "console:common.sidePanel.policyAdministration",
children: [
{
component: lazy(() => import("@wso2is/admin.policy-administration.v1/pages/edit-policy")),
exact: true,
id: "editPolicy",
name: "Edit Policy",
path: AppConstants.getPaths().get("EDIT_POLICY"),
protected: true,
showOnSidePanel: false
}
],
component: lazy(() => import("@wso2is/admin.policy-administration.v1/pages/policy-administration")),
exact: true,
icon: {
icon: getSidePanelIcons().policyAdministration
},
id: "policyAdministration",
name: "Policy Administration",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add i18n keys

order: 30,
path: AppConstants.getPaths().get("POLICY_ADMINISTRATION"),
protected: true,
showOnSidePanel: true
},
{
category: "console:develop.features.sidePanel.categories.application",
children: [
Expand Down
1 change: 1 addition & 0 deletions apps/console/src/public/deployment.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -891,6 +891,7 @@
"scopes": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check if all the RBAC related configs are added.

  • J2 Mappings
  • default.json updates
  • console ui scopes registered

"create": [],
"delete": [],
JeethJJ marked this conversation as resolved.
Show resolved Hide resolved
"feature": [],
"read": [],
"update": []
}
Expand Down
4 changes: 2 additions & 2 deletions apps/myaccount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"@babel/polyfill": "^7.0.0",
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.organizations.v1": "^2.26.83",
"@wso2is/common.branding.v1": "^2.25.56",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.actions.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"dependencies": {
"@asgardeo/auth-react": "^5.1.2",
"@mui/material": "^5.13.0",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.core.v1": "^2.35.21",
"@wso2is/admin.extensions.v1": "^2.36.8",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.administrators.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.applications.v1": "^2.30.83",
"@wso2is/admin.authentication.v1": "workspace:^2.25.83",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@wso2is/admin.applications.v1": "^2.30.83",
"@wso2is/admin.claims.v1": "^2.26.42",
"@wso2is/admin.core.v1": "^2.35.21",
Expand Down
2 changes: 1 addition & 1 deletion features/admin.api-resources.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/core": "^2.5.5",
"@wso2is/form": "^2.6.12",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.api-resources.v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/core": "^2.5.5",
"@wso2is/form": "^2.6.12",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.applications.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.api-resources.v2": "^2.25.83",
"@wso2is/admin.authentication-flow-builder.v1": "^2.24.83",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ const ScriptEditorPanel = (props: PropsWithChildren<ScriptEditorPanelPropsInterf
</div>
<div className="secret-selection-menu-wrapper">
{ secretMgtFeatureConfig?.enabled &&
hasSecretReadPermissions && (
hasSecretReadPermissions && (
<SecretSelectionDropdown
open={ isSecretSelectionDropdownOpen }
onClose={ () => setIsSecretSelectionDropdownOpen(false) }
Expand Down
4 changes: 2 additions & 2 deletions features/admin.authentication-flow-builder.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/core": "^2.5.5",
"@wso2is/react-components": "^2.8.19",
"@wso2is/admin.applications.v1": "^2.30.83",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.authorization.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/core": "^2.5.5",
"@wso2is/dynamic-forms": "^2.4.19",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.branding.ai.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.branding.v1": "^2.27.56",
"@wso2is/admin.core.v1": "^2.35.21",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.branding.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.branding.ai.v1": "^2.26.83",
"@wso2is/admin.core.v1": "^2.35.21",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.certificates.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.core.v1": "^2.35.21",
"@wso2is/core": "^2.5.5",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.claims.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.claims.v1": "^2.26.42",
"@wso2is/admin.core.v1": "^2.35.21",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.connections.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.applications.v1": "^2.30.83",
"@wso2is/admin.claims.v1": "^2.26.42",
Expand Down
4 changes: 2 additions & 2 deletions features/admin.console-settings.v1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@mui/material": "^5.13.0",
"@mui/system": "^5.12.3",
"@mui/utils": "^5.12.3",
"@oxygen-ui/react": "^2.2.0",
"@oxygen-ui/react-icons": "^2.2.0",
"@oxygen-ui/react": "^2.3.0",
"@oxygen-ui/react-icons": "^2.3.0",
"@wso2is/access-control": "^3.3.9",
"@wso2is/admin.administrators.v1": "^2.29.83",
"@wso2is/admin.applications.v1": "^2.30.83",
Expand Down
3 changes: 3 additions & 0 deletions features/admin.core.v1/configs/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ import { getScopesResourceEndpoints } from "@wso2is/admin.oidc-scopes.v1";
import { getInsightsResourceEndpoints } from "@wso2is/admin.org-insights.v1/config/org-insights";
import { getOrganizationsResourceEndpoints } from "@wso2is/admin.organizations.v1/configs";
import { OrganizationUtils } from "@wso2is/admin.organizations.v1/utils";
import { getPolicyAdministrationResourceEndpoints } from "@wso2is/admin.policy-administration.v1/configs";
import { getRemoteFetchConfigResourceEndpoints } from "@wso2is/admin.remote-repository-configuration.v1";
import { getRolesResourceEndpoints } from "@wso2is/admin.roles.v2/configs/endpoints";
import { getSecretsManagementEndpoints } from "@wso2is/admin.secrets.v1/configs/endpoints";
Expand Down Expand Up @@ -211,6 +212,7 @@ export class Config {
I18nConstants.APPLICATION_TEMPLATES_NAMESPACE,
I18nConstants.ACTIONS_NAMESPACE,
I18nConstants.TENANTS_NAMESPACE,
I18nConstants.POLICY_ADMINISTRATION_NAMESPACE,
I18nConstants.REMOTE_USER_STORES_NAMESPACE
],
preload: []
Expand Down Expand Up @@ -270,6 +272,7 @@ export class Config {
...getApplicationTemplatesResourcesEndpoints(this.resolveServerHost()),
...getActionsResourceEndpoints(this.resolveServerHost()),
...getSmsTemplateResourceEndpoints(this.resolveServerHost()),
...getPolicyAdministrationResourceEndpoints(this.resolveServerHost()),
CORSOrigins: `${ this.getDeploymentConfig()?.serverHost }/api/server/v1/cors/origins`,
// TODO: Remove this endpoint and use ID token to get the details
me: `${ this.getDeploymentConfig()?.serverHost }/scim2/Me`,
Expand Down
2 changes: 2 additions & 0 deletions features/admin.core.v1/configs/ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@
*/
export type GetSidePanelIconsInterface = {
adminAdvisoryBanner: FunctionComponent | ReactNode,
policyAdministration: FunctionComponent | ReactNode,
administrators: FunctionComponent | ReactNode,
apiResources: FunctionComponent | ReactNode,
applicationRoles: FunctionComponent | ReactNode,
Expand Down Expand Up @@ -294,7 +295,8 @@
return {
adminAdvisoryBanner: AdminAdvisoryBannerIcon,
administrators: AdminOutlineIcon,
policyAdministration: AdminOutlineIcon,
apiResources: CloudConnectionOutlineIcon,

Check warning on line 299 in features/admin.core.v1/configs/ui.ts

View workflow job for this annotation

GitHub Actions / ⬣ ESLint (STATIC ANALYSIS) (lts/*, 8.7.4)

Expected object keys to be in ascending order. 'apiResources' should be before 'policyAdministration'
appLogs: IDPMetadataIcon,
applicationRoles: ApplicationRolesIcon,
applications: ApplicationsOutlineIcon,
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 @@ -411,7 +411,9 @@ export class AppConstants {
`${ AppConstants.getAdminViewBasePath()}/actions/pre-issue-access-token` ],
[ "TENANTS", `${AppConstants.getDefaultLayoutBasePath()}/organizations` ],
[ "EDIT_TENANT", `${AppConstants.getDefaultLayoutBasePath()}/organizations/:id` ],
[ "SYSTEM_SETTINGS", `${AppConstants.getDefaultLayoutBasePath()}/organizations/system-settings` ]
[ "SYSTEM_SETTINGS", `${AppConstants.getDefaultLayoutBasePath()}/organizations/system-settings` ],
[ "POLICY_ADMINISTRATION", `${AppConstants.getAdminViewBasePath()}/policy-administration` ],
[ "EDIT_POLICY", `${AppConstants.getAdminViewBasePath()}/policy-administration/edit-policy/:id` ]
]);

return paths;
Expand Down
7 changes: 7 additions & 0 deletions features/admin.core.v1/constants/i18n-constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,12 @@
*/
public static readonly REMOTE_USER_STORES_NAMESPACE: string = I18nModuleConstants.REMOTE_USER_STORES_NAMESPACE;


/**
* Policy Administration namespace.
*/
public static readonly POLICY_ADMINISTRATION_NAMESPACE: string = I18nModuleConstants.POLICY_ADMINISTRATION_NAMESPACE;

Check warning on line 283 in features/admin.core.v1/constants/i18n-constants.ts

View workflow job for this annotation

GitHub Actions / ⬣ ESLint (STATIC ANALYSIS) (lts/*, 8.7.4)

This line has a length of 121. Maximum allowed is 120

/**
* Locations of the I18n namespaces.
*/
Expand Down Expand Up @@ -327,6 +333,7 @@
[ I18nConstants.IMPERSONATION_CONFIGURATION_NAMESPACE, "portals" ],
[ I18nConstants.ACTIONS_NAMESPACE, "portals" ],
[ I18nConstants.TENANTS_NAMESPACE, "portals" ],
[ I18nConstants.POLICY_ADMINISTRATION_NAMESPACE, "portals" ],
[ I18nConstants.REMOTE_USER_STORES_NAMESPACE, "portals" ]
]);

Expand Down
5 changes: 3 additions & 2 deletions features/admin.core.v1/models/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { ConnectionResourceEndpointsInterface } from "@wso2is/admin.connections.
import { GroupsResourceEndpointsInterface } from "@wso2is/admin.groups.v1/models/endpoints";
import { ScopesResourceEndpointsInterface } from "@wso2is/admin.oidc-scopes.v1";
import { OrganizationResourceEndpointsInterface } from "@wso2is/admin.organizations.v1/models";
import { PolicyAdministrationEndpointsInterface } from "@wso2is/admin.policy-administration.v1/models/endpoints";
import { RolesResourceEndpointsInterface } from "@wso2is/admin.roles.v2/models/endpoints";
import { SecretsManagementEndpoints } from "@wso2is/admin.secrets.v1/models/endpoints";
import { ServerConfigurationsResourceEndpointsInterface } from "@wso2is/admin.server-configurations.v1";
Expand Down Expand Up @@ -575,8 +576,8 @@ export interface ServiceResourceEndpointsInterface extends ClaimResourceEndpoint
ExtensionTemplatesEndpointsInterface,
ApplicationsTemplatesEndpointsInterface,
SMSTemplateResourceEndpointsInterface,
ActionsResourceEndpointsInterface {

ActionsResourceEndpointsInterface,
PolicyAdministrationEndpointsInterface {
CORSOrigins: string;
// TODO: Remove this endpoint and use ID token to get the details
me: string;
Expand Down
Loading
Loading