I was reading answers to a question about Thomas touching Jesus. An answer came from an Orthodox person which said that Thomas was granted special permission to touch his body/wound. That person further said that it was why Jesus warned Mary Magdalene not to touch him. I would like to ask, from the orthodox perspective, who said touching Jesus was dangerous, and that Thomas was granted an exception. My question is: Is this also your position (Jesus granting exceptions) when the two women (Lazarus' sister and a prostitute) touched his feet while putting oil on them?
Jesus didn't want Mary (and others) touching him as they had before the crucifixion, because he would no longer be with them as he had been. John Chrysostom explains this in his Homilies on the Gospel of St. John. [emphasis mine]
With Thomas it was another matter. When Jesus let Thomas touch him, it was a form of rebuke for Thomas' disbelief. Chrysostom again:
I have no references to these beliefs, other than I was raised Orthodox. I was taught that lots of people touched Jesus before the crucifixion. It is after that He did not allow people to touch him,
The reason Thomas was allowed to touch Him is because Thomas was always the most doubtful of all the apostles. Even after all the other apostles saw Jesus and believed, and told Thomas,
Therefore, Christ let Thomas touch Him so Thomas would believe.
Also, if no-one had touched Him, the heretics would claim that He was not real (therefore someone had to touch Him, and who better than Thomas, who had a hard believing by sight).
There's no scriptural support to say that only Thomas and/or certain others had some special permission to touch Jesus. However there are some great examples of people reaching out and touching with no "dangerous" outcomes:
A great example is how Jesus subtly rebukes Simon (Peter) for not greeting him with a kiss when he entered his house:
Regarding the "don't touch me" moment with Mary, Orthodox teaching takes it a different way:
[notice the link in the book/chapter reference]
Mary was so excited to see Jesus her immediate reaction was to hug him--and who could blame her! Notice how Jesus gives a reason why Mary shouldn't cling to him: "for I have not yet ascended to the Father." Orthodox teaching would say that Jesus was basically calming her down and telling her she doesn't need to hold so much because he's not going anywhere. And that she should go soon and tell her brothers. Mary probably held to Jesus and thought to herself "I'm never letting go!" Jesus was merely calming her down and telling her there's still work to be done.
The incident with Thomas seems more obvious because Jesus straight up told him to touch his hands and side:
The person may have identified as 'Orthodox' but their doctrine was not orthodox (and therefore, more explicitly not actually reflective of Eastern Orthodox doctrine*) as it denies the clear sense of:
In order to harmonise the sense of John 20:17 with John 20:24, Luke 24:39 it is commonly theorised that there were (at least) two ascensions - one immediately subsequent to Mary's encounter and another 40 days later detailed in Luke 24:51 & Acts 1:9.
*As the Eastern Orthodox churches do not as a general rule produce doctrines that blatantly contradict scripture.