-
Notifications
You must be signed in to change notification settings - Fork 41
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
Pull in rhecosystem changes (need FEO support) #1635
Pull in rhecosystem changes (need FEO support) #1635
Conversation
…he-user-page-of-the-IAM-console-to-add-the-activate/deactivate-user-feature Modified the user page to add activate user or deactivate user feature
…he-RBAC-console-applying-new-UXD-to-support-bulk-actions-for-activate/deactivate-users Modified the activate/deactivate user feature, and added the invite users feature
…-issue RHBKAAS-89: Fix cors issue
…eference-to-UGC RHBKAAS-91: Remove reference to UGC for FEDRAMP
…ch-to-change-the-isAdmin-status-in-the-user-table RHBKAAS-92: Add switch to change the is admin status in the user table
…es-when-user-is-not-org-admin RHBKAAS-79: Hide pages when user is not org admin
…9-add-ability-to-avoid-current-users-to-deactivate-themselves RHBKAAS-139: Add ability to avoid current users to deactivate themselves
Add beta build alias
Fix getBaseUrl not working
Fix typo in get api url
fix user-helper url bug
…ates update build commands
8298e2f
to
4e8fa84
Compare
setDeleteInfo({ | ||
title: removeText, | ||
confirmButtonLabel: removeText, | ||
text: removeModalText( | ||
multipleMembersSelected ? selectedMembers.length : selectedMembers[0].uuid, | ||
multipleMembersSelected ? selectedMembers.length : chrome.isFedramp ? selectedMembers[0].label : selectedMembers[0].uuid, |
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.
@fhlavac I think I recall you converting us to using UUID (no worries if I'm wrong). Can you see if this logic seems valid or if label
will no longer work with the changes we've made in master?
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.
@fhlavac any insights here?
4e8fa84
to
b6f0e35
Compare
@@ -0,0 +1,4 @@ | |||
export const isEphem = insights.chrome.getEnvironment() === 'ephem'; |
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 is a bit different from our chrome.isFedramp
helper as we will use this to lookup the correct invite API base URL (from a static file in each env).
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.
just curious about few details
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.
Just some high level comments. I'll leave the rest for the UI folks.
@@ -8,6 +9,145 @@ const principalStatusApiMap = { | |||
Inactive: 'disabled', | |||
All: 'all', | |||
}; | |||
|
|||
const getBaseUrl = (url) => { |
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.
Note. We should be feeding it from chrome service and configure a env variable in the OC namespace. @florkbr can you create a ticket for this?
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.
0b6a419
to
c011467
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 now. I'll let @fhlavac and co to check if this works fine in commercial env.
586cff7
to
64d2279
Compare
64d2279
to
d354f56
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.
@florkbr tested locally and didn't found any issues for the commercial env
Description
We originally migrated rbac UI in-boundary via a different public repo: https://github.com/RHEcosystemAppEng/insights-rbac-ui. That repo is out of date with this one and also has changes on top of it for itless.
I've attempted to merge those changes back into rbac-ui in this PR for maintainability, consistency with what we do in our other repos, and to fast forward the UI. We will need extensive regression testing to ensure this PR does not regress either env.
I've opted NOT to squash these commits for historical reasons (as these changes were made by other engineers). I imagine we will also have some follow up around best practices, tech debt, etc.
Screenshots
N/A - ideally in commercial we should see no change
Checklist ☑️