From 37de2c2c4eb048f6758e1f16c31521a4530d1fc0 Mon Sep 17 00:00:00 2001 From: shiziyuan9527 Date: Wed, 27 May 2020 14:45:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E6=B7=BB=E5=8A=A0=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/io/metersphere/controller/UserController.java | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/main/java/io/metersphere/controller/UserController.java b/backend/src/main/java/io/metersphere/controller/UserController.java index 50b1a34bc4..9a724fc608 100644 --- a/backend/src/main/java/io/metersphere/controller/UserController.java +++ b/backend/src/main/java/io/metersphere/controller/UserController.java @@ -70,6 +70,7 @@ public class UserController { } @PostMapping("/special/update_status") + @RequiresRoles(RoleConstants.ADMIN) public void updateStatus(@RequestBody User user) { userService.updateUser(user); }