-
Notifications
You must be signed in to change notification settings - Fork 263
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
Conversation
This reverts commit 64538f8.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7313 +/- ##
=======================================
Coverage 36.04% 36.04%
=======================================
Files 42 42
Lines 899 899
Branches 222 217 -5
=======================================
Hits 324 324
+ Misses 575 529 -46
- Partials 0 46 +46
Flags with carried forward coverage won't be shown. Click here to find out more. |
Let's add the changeset, and a screencast/screenshot of the UI. |
Co-authored-by: Pavindu Lakshan <[email protected]>
features/admin.policy-administration.v1/api/entitlement-policies.ts
Outdated
Show resolved
Hide resolved
features/admin.policy-administration.v1/api/entitlement-policies.ts
Outdated
Show resolved
Hide resolved
features/admin.policy-administration.v1/api/entitlement-policies.ts
Outdated
Show resolved
Hide resolved
features/admin.policy-administration.v1/api/entitlement-policies.ts
Outdated
Show resolved
Hide resolved
modules/i18n/src/translations/en-US/portals/policy-administration.ts
Outdated
Show resolved
Hide resolved
…es.ts Co-authored-by: Pavindu Lakshan <[email protected]>
…es.ts Co-authored-by: Pavindu Lakshan <[email protected]>
Co-authored-by: Pavindu Lakshan <[email protected]>
Co-authored-by: Pavindu Lakshan <[email protected]>
Co-authored-by: Pavindu Lakshan <[email protected]>
Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx
…or/policy-editor.scss
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…nistration-page-layout.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…or/policy-editor.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…or/policy-editor.tsx Co-authored-by: Pavindu Lakshan <[email protected]>
...s/admin.policy-administration.v1/components/edit-policy-algorithm/edit-policy-algorithm.scss
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's get rid of index files. we are moving away from using index files.
value: 1 | ||
}, | ||
{ | ||
description: "The permit overrides combining algorithm is intended for those cases where a permit " + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use i18n for string literals
features/admin.policy-administration.v1/components/policy-list.tsx
Outdated
Show resolved
Hide resolved
features/admin.policy-administration.v1/components/policy-list.tsx
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,5 @@ | |||
.policy-inactive-list{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add license header
features/admin.policy-administration.v1/components/wizard/new-policy-wizard.scss
Outdated
Show resolved
Hide resolved
…-algorithm/edit-policy-algorithm.scss Co-authored-by: Pavindu Lakshan <[email protected]>
Co-authored-by: Pavindu Lakshan <[email protected]>
Co-authored-by: Pavindu Lakshan <[email protected]>
….tsx Co-authored-by: Pavindu Lakshan <[email protected]>
….tsx Co-authored-by: Pavindu Lakshan <[email protected]>
….tsx Co-authored-by: Pavindu Lakshan <[email protected]>
…policy-wizard.scss Co-authored-by: Pavindu Lakshan <[email protected]>
🦋 Changeset detectedThe changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. |
Rest of the comments will be addressed by @adibmbrk during improvements. |
Lets address the lint issues and the existing PR comments in a followup PR. +1 to merge this. |
icon: getSidePanelIcons().policyAdministration | ||
}, | ||
id: "policyAdministration", | ||
name: "Policy Administration", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add i18n
keys
@@ -891,6 +891,7 @@ | |||
"scopes": { |
There was a problem hiding this comment.
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
updatesconsole
ui scopes registered
* @param {boolean} shouldFetch - Flag to determine if the data should be fetched. | ||
* @return {RequestResultInterface} Response as a promise. | ||
*/ | ||
export const useGetAlgorithm = <Data = AlgorithmResponseInterface, Error = RequestErrorInterface>( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we make this a bit more specific.
useGetEntitlementPolicyCombiningAlgorithm
padding: 0; | ||
} | ||
|
||
#active-policy-list-container{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets not use ids
to identify elements.
#active-policy-list-container{ | |
#active-policy-list-container { |
} | ||
|
||
}, [ activePolicyArray ]); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove these extra line breaks in all the files.
Purpose
As a part of the effort to make XACML a connector, we are introducing a new UI for the react console.
Related Issues
Related PRs
Checklist
Security checks