Skip to content

Conversation

@GevaX
Copy link
Contributor

@GevaX GevaX commented Dec 6, 2025

Reopen of #1469

Description

Changed the deletion behavior of teams from CASCADE to RESTRICT.
Disabled the option to delete a team which has participated in an event.
This is done by adding an extraFields parameter to the API query.
And in the API mapping teams to team divisions and by that determining deletability of teams.
Resolves #1391

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

image

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings

@github-project-automation github-project-automation bot moved this to Backlog in LEMS Dec 6, 2025
@GevaX
Copy link
Contributor Author

GevaX commented Dec 6, 2025

fixed it @johnmeshulam

@johnmeshulam johnmeshulam changed the base branch from main to restrict-team-deletion January 2, 2026 08:51
@johnmeshulam johnmeshulam merged commit 1be748c into FIRSTIsrael:restrict-team-deletion Jan 2, 2026
@github-project-automation github-project-automation bot moved this from Backlog to Done in LEMS Jan 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Team deletion behavior in SQL is dangerous

2 participants