pub fn redeemable_roles<'r>(
issuer: &'r Party,
issuer_cp: Permissions,
roles: &'r [Role],
) -> impl Iterator<Item = RoleId> + 'rExpand description
At redemption, the default roles the issuer could still assign now; the rest are
dropped, never granted (permissions §4.7, specification §8.6). A deleted role is simply
absent from roles. An issuer who left or was banned resolves to an empty cp.