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

rbac: fix bug with selecting permissions in PermissionList #50033

Merged
merged 3 commits into from
Mar 27, 2023

Conversation

BolajiOlajide
Copy link
Contributor

@BolajiOlajide BolajiOlajide commented Mar 27, 2023

Context

When multiple role nodes are expanded, clicking on the label for any permissions toggles the onClick method for the most recently expanded role node.

Test plan

  • Manually tested

App preview:

Check out the client app preview documentation to learn more.

@BolajiOlajide BolajiOlajide requested a review from a team March 27, 2023 17:39
@BolajiOlajide BolajiOlajide self-assigned this Mar 27, 2023
@cla-bot cla-bot bot added the cla-signed label Mar 27, 2023
Copy link
Contributor

@courier-new courier-new left a comment

Choose a reason for hiding this comment

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

Nice fix. 👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a story with multiple roles/should we make one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Roles Management page story already exists for this.

The storybook link for this PR wasn't generated (my guess because I didn't add a new storybook, only modified the existing one).

CleanShot 2023-03-27 at 21 52 49@2x

Copy link
Contributor

Choose a reason for hiding this comment

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

Ooh this is perfect, thanks for confirming this for me! 😄

@BolajiOlajide BolajiOlajide merged commit fe382b3 into main Mar 27, 2023
@BolajiOlajide BolajiOlajide deleted the bo/fix-permission-assignment-bug branch March 27, 2023 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants