- All Implemented Interfaces:
org.silverpeas.core.notification.system.ResourceEventListener<org.silverpeas.core.admin.space.notification.SpaceProfileInstEvent>
@Technical
@Bean
public class MembersGroupRemovalFromRoleListener
extends org.silverpeas.core.notification.system.CDIResourceEventListener<org.silverpeas.core.admin.space.notification.SpaceProfileInstEvent>
A listener of events about the removing of a group of users from a space role profile. The goal
is to detect any attempts to remove a group of community members from its community in order to
restore it automatically. It is a workaround until such removal becomes impossible in Silverpeas
Core. The group of members are put by default in the reader role of a community space and hence
the check is done for any update of this role for a community. Thus, any other roles aren't
considered even if the group of members has been added/removed in those roles.
- Author:
- mmoquillon