Trait pallet_identity::traits::CheckIdtyCallAllowed
source · pub trait CheckIdtyCallAllowed<T: Config> {
// Required method
fn check_create_identity(creator: T::IdtyIndex) -> Result<(), DispatchError>;
}
Expand description
A 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>
Checks if creating an identity is allowed.
Object Safety§
This trait is not object safe.