Thanks for sharing.
Seems this dog is in a survival relationship with you and feels the need to protect you from anyone that wants your attention.
It can escalate to obsessive guarding and fear aggression on leash and with people hugging you.
To improve this you need to establish clear boundaries, clear job description, strong obedience skills, include role play with other dogs.
Make sure you’re not offering “free Norice” but you’re only available by consent.
#PetBehaviorandTraining