[−][src]Trait sunshine_util::traits::ChangeGroupMembership
All changes to the organizational membership are infallible
Required methods
fn add_group_member(group_id: Self::GroupId, new_member: AccountId, batch: bool)
fn remove_group_member(
group_id: Self::GroupId,
old_member: AccountId,
batch: bool
)
group_id: Self::GroupId,
old_member: AccountId,
batch: bool
)
fn batch_add_group_members(group_id: Self::GroupId, new_members: Vec<AccountId>)
WARNING: the vector fed as inputs to the following methods must have NO duplicates
fn batch_remove_group_members(
group_id: Self::GroupId,
old_members: Vec<AccountId>
)
group_id: Self::GroupId,
old_members: Vec<AccountId>
)