Bug 973454 - [settings] refactor App permissions panel with AMD pattern