pub fn approve(
actor: &Party,
cp: Permissions,
target: &Party,
state: MembershipState,
default_roles: &[Role],
) -> Result<(), Refusal>Expand description
membership.approve. A Pending target has no roles, so no H2; but the approver must be
able to assign every default role applied at approval (specification §8.9). Ending a
Probation early needs H1 and H2 (permissions §4.6).