#488 Customizing template for granting access to apps