SuspendedMemberHandler: Handler
Item | Value |
---|---|
Briefly | Brief description missing. |
Definition Path | ImprovingApp.MemberContext.Member.RegisteredMemberState.SuspendedMemberHandler |
View Source Link | members.riddl(319:21) |
This state describes that a member cannot access anything due to being a bad user. This state transition is only possible as a command issued by an administrator and therefore can only be removed from the suspended state by an administrator.
\nerror "Member has already been registered."
\n
\nsend event ImprovingApp.GatewayAPI.MemberGateway.MemberActivated to outlet ImprovingApp.MemberContext.MemberEventsSource.Eventsbecome entity ImprovingApp.MemberContext.Member to handler ActiveMemberHandler
\n
A suspension reason can be updated by re-issuing the command
\nset field RegisteredMemberState.meta to "MemberContext.MetaInfo"send event ImprovingApp.MemberContext.MemberSuspended to outlet ImprovingApp.MemberContext.MemberEventsSource.Events
\n
\nset field RegisteredMemberState.meta to "MemberContext.MetaInfo"morph entity ImprovingApp.MemberContext.Member to state TerminatedMember with record TerminatedMemberState
\n
\nreply record ImprovingApp.MemberContext.Info
\n