test(controller): add unit tests for app-related permission checks
fix(controller): honor app permissions correctly on app-related views
Merge pull request #1602 from mboersma/1576-fix-deis-ps-perms

fix(controller): honor permissions on app-related views