pub fn generate_permission_id<T: Config>(
grantor: &T::AccountId,
grantee: &T::AccountId,
scope: &PermissionScope<T>,
) -> Result<PermissionId, DispatchError>
Expand description
Generate a unique permission ID by hashing a concat of
grantee | scope | block number