Updating ResourceVoter.
Merge pull request #159 from ngodfraind/resource-voter-is-granted-refactor

Updating ResourceVoter.