Revised v2 permission resource and endpoints. bugid:112438