Skip to content

Conversation

@marcusmoore
Copy link
Collaborator

@marcusmoore marcusmoore commented May 14, 2025

This PR fixes an issue where a 500 would be thrown if a soft-deleted user is edited via the UI.

@snipe I noticed the API doesn't allow modifying users that are soft deleted and the UI shows the edit button disabled but you can manually get to the route.

image

✅ Should I include not allowing the edit page to show for soft deleted users?
This is added so attempting to manually view the route redirects back to the user show page with the existing helpful message at the top:
image

@marcusmoore marcusmoore requested a review from snipe as a code owner May 14, 2025 19:54
@snipe
Copy link
Member

snipe commented May 15, 2025

I noticed the API doesn't allow modifying users that are soft deleted and the UI shows the edit button disabled but you can manually get to the route.

I'd say so, at least for now. No one has complained about not being able to edit deleted users in the past.

@marcusmoore marcusmoore marked this pull request as draft May 15, 2025 18:00
@marcusmoore marcusmoore marked this pull request as ready for review May 15, 2025 18:17
@marcusmoore
Copy link
Collaborator Author

@snipe updated. Check the updated PR description for details.

@snipe snipe merged commit ca66e29 into grokability:develop May 15, 2025
6 of 8 checks passed
@marcusmoore marcusmoore deleted the bug/sc-29166 branch May 19, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants