-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Adds disassociate functionality and an empty state for Sys Admin #7183
Adds disassociate functionality and an empty state for Sys Admin #7183
Conversation
259d778
to
cd0e7b7
Compare
Build succeeded.
|
cd0e7b7
to
45b9494
Compare
Build succeeded.
|
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.
LGTM! just a couple test name changes
@@ -42,4 +47,23 @@ describe('<TeamAccessListItem/>', () => { | |||
wrapper.find('PFDataListCell[aria-label="resource role"]').text() | |||
).toContain('Admin'); | |||
}); | |||
test('should actionable chip', () => { |
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 might better read "should render deletable chip"
@@ -42,4 +44,23 @@ describe('<UserAccessListItem/>', () => { | |||
wrapper.find('PFDataListCell[aria-label="resource role"]').text() | |||
).toContain('Admin'); | |||
}); | |||
test('should actionable chip', () => { |
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.
same thing with the name
45b9494
to
15d6c5f
Compare
Build succeeded.
|
{i18n._(t`System Administrator`)} | ||
</Title> | ||
<EmptyStateBody> | ||
{i18n._(t`System administrators have access to all permissions.`)} |
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.
Can we rephrase this? It's understandable, but I want to be more specific. How about "System administrators have full permissions and access".
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. Tried this with a variety of permissions. My only comment is the non-blocking text change above.
Build succeeded.
|
Build succeeded (gate pipeline).
|
SUMMARY
This addresses #7104 and #7102. It add's functionality to disassociate a role in user/team -> access
ISSUE TYPE
COMPONENT NAME
AWX VERSION
ADDITIONAL INFORMATION