[−][src]Trait sunshine_util::traits::SupervisorPermissions
Required methods
fn is_sudo_account(who: &AccountId) -> bool
fn is_organization_supervisor(organization: OrgId, who: &AccountId) -> bool
fn is_share_supervisor(
organization: OrgId,
share_id: ShareId,
who: &AccountId
) -> bool
organization: OrgId,
share_id: ShareId,
who: &AccountId
) -> bool
fn put_sudo_account(who: AccountId)
fn put_organization_supervisor(organization: OrgId, who: AccountId)
fn put_share_group_supervisor(
organization: OrgId,
share_id: ShareId,
who: AccountId
)
organization: OrgId,
share_id: ShareId,
who: AccountId
)
fn set_sudo_account(setter: &AccountId, new: AccountId) -> DispatchResult
fn set_organization_supervisor(
organization: OrgId,
setter: &AccountId,
new: AccountId
) -> DispatchResult
organization: OrgId,
setter: &AccountId,
new: AccountId
) -> DispatchResult
fn set_share_supervisor(
organization: OrgId,
share_id: ShareId,
setter: &AccountId,
new: AccountId
) -> DispatchResult
organization: OrgId,
share_id: ShareId,
setter: &AccountId,
new: AccountId
) -> DispatchResult