Permission API

Changes to GET /api/get-permission

get/api/get-permission