[][src]Trait sunshine_util::traits::SubSubGroupSupervisorPermissions

pub trait SubSubGroupSupervisorPermissions<OrgId, S1, S2, AccountId> {
    fn is_sub_sub_group_organization_supervisor(
        org: OrgId,
        sub_group: S1,
        sub_sub_group: S2,
        who: &AccountId
    ) -> bool;
fn put_sub_sub_group_organization_supervisor(
        org: OrgId,
        sub_group: S1,
        sub_sub_group: S2,
        who: AccountId
    );
fn set_sub_sub_group_supervisor(
        org: OrgId,
        sub_group: S1,
        sub_sub_group: S2,
        old_supervisor: &AccountId,
        new_supervisor: AccountId
    ) -> DispatchResult; }

Required methods

fn is_sub_sub_group_organization_supervisor(
    org: OrgId,
    sub_group: S1,
    sub_sub_group: S2,
    who: &AccountId
) -> bool

fn put_sub_sub_group_organization_supervisor(
    org: OrgId,
    sub_group: S1,
    sub_sub_group: S2,
    who: AccountId
)

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

Loading content...

Implementors

Loading content...