Skip to content

Fix/user permission removed on edit#539

Merged
tsubik merged 2 commits intodevelopfrom
fix/user_permission_removed_on_edit
Jul 16, 2025
Merged

Fix/user permission removed on edit#539
tsubik merged 2 commits intodevelopfrom
fix/user_permission_removed_on_edit

Conversation

@tsubik
Copy link
Collaborator

@tsubik tsubik commented Jul 10, 2025

In case of any validation error on the user form, user permissions were removed because of accepts_nested_attributes and id of the existing permission was not permitted back on the server.

JIRA: https://gfw.atlassian.net/browse/OPEN-334?atlOrigin=eyJpIjoiODA0NWI5MjEzNDNjNDUzOWFlOGMzNzM3NzdkYjU5NmYiLCJwIjoiaiJ9

@tsubik tsubik requested a review from santostiago July 10, 2025 08:49
@tsubik tsubik merged commit c9e67bc into develop Jul 16, 2025
4 checks passed
@tsubik tsubik deleted the fix/user_permission_removed_on_edit branch July 16, 2025 06:55
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