Membership: Make membership_type argument optionnal and by default value 'IN'

In the Membership class, the membership_type argument/attribute can be of IN or OUT value. The IN value is the standard way of sending a membership. The OUT is almost never used, and was meant to cancel a membership, without sending a revocation for an identity.

Findings on the forum:

Let's define it as optional, since we might get rid of it, in case the revocation took over this use case. It would then be easier to just remove the argument from the prompts of Membership methods. Not sure if we would get rid of it since, there is a leavers field in the block document containing the OUT membership documents.


Todo

  • Make it optional and by default value IN.
Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information