Add permission control to version command