Trait pallet_identity::traits::CheckIdtyCallAllowed
source · pub trait CheckIdtyCallAllowed<T: Config> {
// Required method
fn check_create_identity(creator: T::IdtyIndex) -> Result<(), DispatchError>;
}
Expand description
Trait defining operations for checking if identity-related calls are allowed.
Required Methods§
sourcefn check_create_identity(creator: T::IdtyIndex) -> Result<(), DispatchError>
fn check_create_identity(creator: T::IdtyIndex) -> Result<(), DispatchError>
Check if creating an identity is allowed.
Object Safety§
This trait is not object safe.