Open Jayden876212 opened 3 months ago
To implement this, #175 would have to be implemented first.
You could loop over the members of the team before it was disbanded and pass through each of their usernames to the function above.
This could be done in conjunction with the implementation of #349 in the TA.
It could also be implemented purely in the front-end of the AP using JS.
This is the function for deleting a team in JS. You can get the members of the team by querying the TA API.
The logic for automatically removing permissions when a user leaves a team was added with the completion of issue #175, but it does not trigger when a team is deleted/disbanded.