Update ErrorAction for permission statements