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

Users: updating multiple users respects mixed fields #1004

Conversation

Innders
Copy link
Member

@Innders Innders commented Jan 30, 2025

Description of changes

Selecting multiple users and changing one value would affect all values even if they were mixed. You could change one field and then an untouched field would be overwritten to one value for the selection. This could be dangerous as use permissions were part of this.

Now only fields that have been "touched" are updated, leaving alone fields with mixed state.

Screen.Recording.2025-01-30.at.08.24.28.mov

Testing

Select many users with different levels. Now change the guest switch and save. All selected users should have the same guest value but all other value, included level, should remain the same for each user.

@Innders Innders requested a review from martastain January 30, 2025 08:26
@Innders Innders self-assigned this Jan 30, 2025
@Innders Innders added the type: bug Something isn't working label Jan 30, 2025
@Innders Innders linked an issue Jan 30, 2025 that may be closed by this pull request
@Innders Innders merged commit 641d738 into develop Jan 30, 2025
@Innders Innders deleted the 1003-Users-updating-users-with-multiselection-demotes-everyone-to-user branch January 30, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Users: updating users with multiselection demotes everyone to "user"
2 participants