JosefCevik / JWManagement

GNU Affero General Public License v3.0
57 stars 30 forks source link

Delete Users with no project permissions #457

Open tim-antkowiak opened 2 years ago

tim-antkowiak commented 2 years ago

When a project gets deleted, the system seems to not delete the users too if they only have the one project.

We want to delete these users that are not used anymore.

We need to make sure to not delete recently created users since these could be new project managers who just did not created a project yet.

Maybe also only delete users who did not logged in a longer period of time.

aloosen commented 2 years ago

Perhaps, we can send the user an email warning then one of the following events occur:

If they want to keep their account, they have to log in, otherwise their account will get deleted after n weeks.