First round of extending resource policies to related resources
Merge pull request #892 from shenrie/master

First round of extending resource policies to related resources