Add policy for Membership resource.
Add API for Membership resource.
Merge branch '4-membership-api'