[][src]Trait sunshine_util::traits::SubGroupSupervisorPermissions

pub trait SubGroupSupervisorPermissions<OrgId, S1, AccountId> {
    fn is_sub_group_supervisor(
        org: OrgId,
        sub_group: S1,
        who: &AccountId
    ) -> bool;
fn put_sub_group_supervisor(org: OrgId, sub_group: S1, who: AccountId);
fn set_sub_group_supervisor(
        org: OrgId,
        sub_group: S1,
        old_supervisor: &AccountId,
        new_supervisor: AccountId
    ) -> DispatchResult; }

Required methods

fn is_sub_group_supervisor(org: OrgId, sub_group: S1, who: &AccountId) -> bool

fn put_sub_group_supervisor(org: OrgId, sub_group: S1, who: AccountId)

fn set_sub_group_supervisor(
    org: OrgId,
    sub_group: S1,
    old_supervisor: &AccountId,
    new_supervisor: AccountId
) -> DispatchResult

Loading content...

Implementors

Loading content...