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

Do not show cryptic confirm dialog when editing group #9048

Merged

Conversation

kjac
Copy link
Contributor

@kjac kjac commented Oct 2, 2020

Prerequisites

  • I have added steps to test this contribution in the description below

If there's an existing issue for this PR then this fixes #9036

Description

Looks like #8739 was a tad too eager in showing confirmation dialogs. It resulted in somewhat cryptic dialogs when removing sections or granular permissions from a user group:

image

image

This PR ensures that we retain the confirmation dialog when removing users from groups, but avoid showing confirmation dialogs when removing sections or granular permissions:

group-delete-items-after

Copy link
Contributor

@nathanwoulfe nathanwoulfe left a comment

Choose a reason for hiding this comment

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

@kjac works perfectly, thank you good sir.

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.

Trying to remove a section from a user group tries to remove user from group
3 participants