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

engine: Add button to remove all direct user permissions #967

Merged

Conversation

0ffer
Copy link
Contributor

@0ffer 0ffer commented Oct 9, 2024

This button useful for large instances, when we have many roles for each user. Some times we want to totally clean roles for user, and this can be hard to look at all roles and search each direct one.

All logic is on UI side, I just modify selected items on-the-fly.

Changes introduced with this PR

Are you the owner of the code you are sending in, or do you have permission of the owner?

y

@0ffer 0ffer requested a review from sgratch as a code owner October 9, 2024 12:21
@0ffer
Copy link
Contributor Author

0ffer commented Oct 9, 2024

Small UI demo

ovirt-demo

Copy link
Member

@barpavel barpavel left a comment

Choose a reason for hiding this comment

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

Looks good, some comments & suggestions.

0ffer added 2 commits October 11, 2024 19:22
This button useful for large instances, when we have many roles for each user. Some times we want to totally clean roles for user, and this can be hard to look at all roles and search each direct one.

Signed-off-by: Stanislav Melnichuk <[email protected]>
Signed-off-by: Stanislav Melnichuk <[email protected]>
@0ffer 0ffer force-pushed the remove-all-direct-roles-with-single-button branch from 82ac13b to 3a59c79 Compare October 11, 2024 16:22
Copy link
Member

@barpavel barpavel left a comment

Choose a reason for hiding this comment

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

Minor localized text fix suggestion (disregard if I'm wrong).

@barpavel barpavel self-requested a review October 14, 2024 17:40
Copy link
Member

@dupondje dupondje left a comment

Choose a reason for hiding this comment

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

Looks good! Can we just squash the changes when merging?

@0ffer
Copy link
Contributor Author

0ffer commented Oct 16, 2024

Looks good! Can we just squash the changes when merging?

Yep, I can squash it manually.
I don't know merging settings for this repo. Who knows, may be there is auto squash configured.

@sandrobonazzola
Copy link
Member

GitHub supports squashing, I can squash while merging.

@sandrobonazzola sandrobonazzola merged commit ff9d113 into oVirt:master Oct 16, 2024
2 checks passed
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.

4 participants