i am looking for auto deletion of the sub user account on deletion of the parent account

Comments

lauriii’s picture

Issue summary: View changes
Priority: Normal » Major

I think this is a good idea if this havent been done yet.

lauriii’s picture

StatusFileSize
new2.45 KB

Here's patch that adds support for deleting subusers. I think it should be possible to also support disabling the subusers, and there should be some message about the deleted subusers.

lauriii’s picture

Status: Active » Needs work
StatusFileSize
new2.45 KB

Fixed whitespaces away.

lauriii’s picture

StatusFileSize
new1.78 KB

Created patch with little different approach. Now we're deleting all subusers recursively. Still need to figure out if it's possible to get those duplicate messages away.

lauriii’s picture

nickonom’s picture

Instead of limiting the additional feature to only deletion, I would suggest to make it also possible to auto-disable subusers if the parent account has been disabled.

nickonom’s picture

Title: Auto delete sub users on Deletion of the parent user » Automatically delete or disable sub users on deletion or disabling of the parent user