Skip to content

Commit

Permalink
fix: the post admin does not have tag list permissions (halo-dev#5818)
Browse files Browse the repository at this point in the history
#### What type of PR is this?

/kind bug
/area ui

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

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

#### How to test it?

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

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

Fixes halo-dev#5814

#### Does this PR introduce a user-facing change?
```release-note
None
```
  • Loading branch information
LIlGG authored Apr 28, 2024
1 parent 8abae05 commit 3916d5b
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ rules:
- apiGroups: [ "content.halo.run" ]
resources: [ "tags" ]
verbs: [ "get", "list" ]
- apiGroups: [ "api.console.halo.run" ]
resources: [ "tags" ]
verbs: [ "get", "list" ]

0 comments on commit 3916d5b

Please sign in to comment.