[][src]Trait sunshine_util::traits::OrganizationSupervisorPermissions

pub trait OrganizationSupervisorPermissions<OrgId, AccountId> {
    fn is_organization_supervisor(org: OrgId, who: &AccountId) -> bool;
fn put_organization_supervisor(org: OrgId, who: AccountId);
fn set_organization_supervisor(
        org: OrgId,
        old_supervisor: &AccountId,
        new_supervisor: AccountId
    ) -> DispatchResult; }

Required methods

fn is_organization_supervisor(org: OrgId, who: &AccountId) -> bool

fn put_organization_supervisor(org: OrgId, who: AccountId)

fn set_organization_supervisor(
    org: OrgId,
    old_supervisor: &AccountId,
    new_supervisor: AccountId
) -> DispatchResult

Loading content...

Implementors

Loading content...