Adds resource permissions API per DDR-2458
GET /resources/:id/permissions
Returns a mapping of permissions to agents representing the effective permissions on the resource as assigned (directly or inherited) by roles.
GET /resources/:id/permissions
Returns a mapping of permissions to agents representing the effective permissions on the resource as assigned (directly or inherited) by roles.