Taking this story at face value, and having worked Security in the past, I think if the guy had asked permission to take a picture it probably would have been okay. Obama the Narcissist would gladly pose with him. But he broke the rules.
Addendum: Rules he may not have known were in place.