hide permissions button if not available