Run the hasPermission method