Merge change 4184 into donut

* changes:
  Add permission test structure for private framework permissions.