Leaning tendencies may ultimately allow a dog to develop dominant behavior, and with it: potential aggressive responses. However, not all dogs leaning on people are clearly demonstrating dominance. Like I said before: it all depends on the individual character and temperament of the given dog ;) :) Therefore, it's better to be safe than sorry, unless you know for sure that the dog is just showing affection and not dominance