add a permission check to display a helpful message to the user