Small ResourceVoter fix for imporsonation.
Merge pull request #681 from ngodfraind/fixing-rights-when-impersonnating

Small ResourceVoter fix for imporsonation.