Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有文章管理权限时,无法访问标签接口 #5814

Closed
ruibaby opened this issue Apr 27, 2024 · 1 comment · Fixed by #5818
Closed

有文章管理权限时,无法访问标签接口 #5814

ruibaby opened this issue Apr 27, 2024 · 1 comment · Fixed by #5818
Labels
area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug.
Milestone

Comments

@ruibaby
Copy link
Member

ruibaby commented Apr 27, 2024

系统信息

  • 外部访问地址: http://localhost:8090/
  • 启动时间: 2024-04-27 21:16
  • 版本: 2.15.0-rc.1
  • 构建时间: 2024-04-26 18:39
  • Git Commit: 8abae05
  • Java: IBM Semeru Runtime Open Edition / 21.0.2+13-LTS
  • 数据库: PostgreSQL / 15.4 (Debian 15.4-2.pgdg120+1)
  • 操作系统: Linux / 6.7.11-orbstack-00143-ge6b82e26cd22
  • 已激活主题: Earth
  • 已启动插件:

使用的哪种方式运行?

Docker Compose

发生了什么?

image

如图,按照设计,文章管理权限应该是包含了标签管理权限,但目前无法访问标签接口。

image

应该和在 #5710 引入的新接口有关。

/kind bug
/area core
/milestone 2.15.x

相关日志输出

No response

附加信息

No response

@ruibaby
Copy link
Member Author

ruibaby commented Apr 27, 2024

/kind bug
/area core
/milestone 2.15.x

@f2c-ci-robot f2c-ci-robot bot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 27, 2024
@f2c-ci-robot f2c-ci-robot bot added this to the 2.15.x milestone Apr 27, 2024
@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Apr 27, 2024
f2c-ci-robot bot pushed a commit that referenced this issue Apr 28, 2024
#### What type of PR is this?

/kind bug
/area ui

#### What this PR does / why we need it:

补充 #5593 中缺少的 `api.console.halo.run` 权限。用于解决具有文章列表权限的用户,访问标签列表时提示无权限的问题

#### How to test it?

创建一个具有文章列表查看权限的用户,是否能够访问到标签列表。

#### Which issue(s) this PR fixes:

Fixes #5814

#### Does this PR introduce a user-facing change?
```release-note
None
```
@ruibaby ruibaby modified the milestones: 2.15.x, 2.15.0 Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant