Permission API

Changes to GET /get-permissions

get/get-permissions