changing general hf_asset permissions to use hf_permission_p instead of generic permission::permission_p