Trait df_traits::PermissionChecker [−][src]
Associated Types
Loading content...Required methods
fn ensure_user_has_space_permission(
user: User<Self::AccountId>,
ctx: SpacePermissionsContext,
permission: SpacePermission,
error: DispatchError
) -> DispatchResult
[src]
user: User<Self::AccountId>,
ctx: SpacePermissionsContext,
permission: SpacePermission,
error: DispatchError
) -> DispatchResult
Provided methods
fn ensure_account_has_space_permission(
account: Self::AccountId,
ctx: SpacePermissionsContext,
permission: SpacePermission,
error: DispatchError
) -> DispatchResult
[src]
account: Self::AccountId,
ctx: SpacePermissionsContext,
permission: SpacePermission,
error: DispatchError
) -> DispatchResult