diff --git a/pom.xml b/pom.xml index abb9b9e63bee..dc347dd2587c 100644 --- a/pom.xml +++ b/pom.xml @@ -131,7 +131,7 @@ 2.18.0 3.5.7 0.10 - 1.8.0 + 1.13.0 3.12.0 1.2.1 2.7.13 diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ResourceController.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ResourceController.java index 98a1fa6b29c6..57c258b9f3ae 100644 --- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ResourceController.java +++ b/shenyu-admin/src/main/java/org/apache/shenyu/admin/controller/ResourceController.java @@ -118,7 +118,7 @@ public ShenyuAdminResult getButton(final String id) { * @return {@linkplain ShenyuAdminResult} */ @GetMapping("/{id}") - @RequiresPermissions(value = {"system:resource:list", "system:resource:editMenu", "system:resource:list"}, logical = Logical.OR) + @RequiresPermissions(value = {"system:resource:list", "system:resource:editMenu"}, logical = Logical.OR) public ShenyuAdminResult detailResource(@PathVariable("id") final String id) { return Optional.ofNullable(resourceService.findById(id)) .map(item -> ShenyuAdminResult.success(ShenyuResultMessage.DETAIL_SUCCESS, item))