Indentation
Make use of hasPermission() instead