Skip to content

Commit

Permalink
Merge branch 'apache:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
lianjunwei authored Dec 2, 2023
2 parents 7b12508 + 2f017d3 commit a76434c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
<wiremock.version>2.18.0</wiremock.version>
<zookeeper.version>3.5.7</zookeeper.version>
<zkclient.version>0.10</zkclient.version>
<shiro.version>1.8.0</shiro.version>
<shiro.version>1.13.0</shiro.version>
<jwt.version>3.12.0</jwt.version>
<motan.version>1.2.1</motan.version>
<spring-boot.version>2.7.13</spring-boot.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit a76434c

Please sign in to comment.