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

whole team vanishes if single user is deleted #1052

Closed
BeckeBauer opened this issue Aug 20, 2019 · 4 comments · Fixed by #1053
Closed

whole team vanishes if single user is deleted #1052

BeckeBauer opened this issue Aug 20, 2019 · 4 comments · Fixed by #1053
Labels
bug
Milestone

Comments

@BeckeBauer
Copy link

@BeckeBauer BeckeBauer commented Aug 20, 2019

Describe the bug
If I have a team with several users and delete the account of one of the users assigned to the team, the whole team is deleted (instead of keeping the team without the deleted user)

To Reproduce
access demo account
create a team with several users
delete the user account of one of the users assigned to this team
Effect: The whole team does not exist anymore

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 20, 2019

True, same applies for deleting customers and projects which are linked to a team.
Will push a fix later, I already found the reason.

Question: for "normal" team members that is definitely wrong, but what about teamleads that are deleted? For now I would still say that the team will still be deleted, as a team without temlead is not possible.

@kevinpapst kevinpapst added the bug label Aug 20, 2019
@kevinpapst kevinpapst added this to the 1.2 milestone Aug 20, 2019
@BeckeBauer

This comment has been minimized.

Copy link
Author

@BeckeBauer BeckeBauer commented Aug 20, 2019

Good question: if it were possible to show a warning and /or an option to assign a new team leader, the admin is sufficiently warned about the consequences.

@kevinpapst

This comment has been minimized.

Copy link
Owner

@kevinpapst kevinpapst commented Aug 20, 2019

I will fix the bug first. The teamlead issue should be handled in a new issue.

@lock

This comment has been minimized.

Copy link

@lock lock bot commented Oct 19, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators Oct 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants
You can’t perform that action at this time.