Item14623: RemoveUser could also remove the UserTopicLeftBar

pencil
Priority: Enhancement
Current State: Waiting for Release
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component: TopicUserMappingContrib, FoswikiUIRegister
Branches: master Item14288
Reported By: GeorgeClark
Waiting For:
Last Change By: GeorgeClark
Looking to add this to help with cleanup on Foswiki.org.

Since this is only applicable to PatternSkin, maybe cleanup could be configurable.

  • {Register}{CleanupOnRemoval} = "$user,$userLeftBar,$userSandbox"

Remove user will attempt to remove named topics listed in the setting.

-- GeorgeClark - 10 Feb 2018

As I use this function to clean up bouncing emails on foswiki.org, (where we do not want to actually remove the user topic), it also seems that we probably don't want to remove the user from the groups. If the user returns and want's to restore their account, we probably want to keep the group memberships.

I think it's enough, that if we preserve the user topic, we can also preserve the group memberships.

-- GeorgeClark - 10 Feb 2018
 
Topic revision: r4 - 14 Feb 2018, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy