-
Notifications
You must be signed in to change notification settings - Fork 363
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
feat: [UIE-8131] - IAM RBAC: Routes, Menu, Feature Flag #11310
feat: [UIE-8131] - IAM RBAC: Routes, Menu, Feature Flag #11310
Conversation
3fb6fc4
to
7b7680c
Compare
Coverage Report: ✅ |
4ca42f7
to
703a31b
Compare
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.
Looks good. A small number of things need to be cleaned up
); | ||
}; | ||
|
||
export default IdentityAccessManagement; |
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.
This exports IdentityAccessManagement
already. Let's just keep the named export and remove this default export
export default IdentityAccessManagement; |
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.
sure, done
<Switch> | ||
<Route component={UserDetails} path={`${path}/users/:username/`} /> | ||
<Redirect exact from={path} to={`${path}/users`} /> | ||
<Route component={IAMLanding} path={`${path}`} /> |
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.
<Route component={IAMLanding} path={`${path}`} /> | |
<Route component={IAMLanding} path={path} /> |
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.
done
type CombinedProps = RouteComponentProps; | ||
|
||
export const IdentityAccessManagement: React.FC<CombinedProps> = (props) => { |
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.
We can express this in a cleaner way. We aren't combining any types to we don't need a type called CombinedProps
. We also don't need to use React.FC
.
type CombinedProps = RouteComponentProps; | |
export const IdentityAccessManagement: React.FC<CombinedProps> = (props) => { | |
export const IdentityAccessManagement = (props: RouteComponentProps) => { |
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.
done
); | ||
}); | ||
|
||
export default IdentityAccessManagementLanding; |
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.
For consistency, can we just remove this default export and export IdentityAccessManagementLanding
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.
done
703a31b
to
b189765
Compare
@bnussman-akamai , thanks, I've updated this PR |
Cloud Manager UI test results🔺 4 failing tests on test run #6 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: yarn cy:run -s "cypress/e2e/core/images/machine-image-upload.spec.ts,cypress/e2e/core/images/machine-image-upload.spec.ts,cypress/e2e/core/images/machine-image-upload.spec.ts,cypress/e2e/core/images/machine-image-upload.spec.ts" |
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.
Cloud Manager E2E Run #6909
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6909
|
Run duration | 30m 49s |
Commit |
9afb2bc704: feat: [UIE-8131] - RBAC-1: Routes, Menu, Feature Flag (#11310)
|
Committer | aaleksee-akamai |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
3
|
Pending |
2
|
Skipped |
0
|
Passing |
465
|
View all changes introduced in this branch ↗︎ |
Description 📝
IAM RBAC - all routes, menu, feature flag
Changes 🔄
Target release date 🗓️
Dec 10, 2024 (dev)
Preview 📷
Include a screenshot or screen recording of the change.
🔒 Use the Mask Sensitive Data setting for security.
💡 Use
<video src="" />
tag when including recordings in table.|
As an Author, I have considered 🤔
As an Author, before moving this PR from Draft to Open, I confirmed ✅