circuitnederland / registrationform

0 stars 0 forks source link

Add emandates lock function #73

Closed sandrab closed 1 year ago

sandrab commented 2 years ago

We want to give users with a valid emandate the possibility to withdraw their emandate. This will technically mean we set a new 'isWithdrawn' field in the emandate system record type, to indicate we should handle their emandate as being withdrawn by the user, meaning we should not use it anymore. The user must also be able to undo the withdrawal of their emandate.

Also, finadmins should be able to block the emandate of users when their direct debits have failed too often or without solution, in which case we set a new user profile field 'emandates_lock' to 'blocked'. Finadmins should also be able to unlock emandates that are blocked.

We will not pass the withdrawn or blocked information to equens, because there is no way for us to communicate anything other than create and amend.