- Added basic permission framework.
- Currently only supports fetching permissions.
- Need code to set and delete permissions which currently needs to be
  done via backend data fix.