fix: the post admin does not have tag list permissions (#5818)

#### 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
```
pull/5820/head
Takagi 2024-04-28 11:22:11 +08:00 committed by GitHub
parent 8abae05be7
commit 3916d5b8e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -23,3 +23,6 @@ rules:
- apiGroups: [ "content.halo.run" ]
resources: [ "tags" ]
verbs: [ "get", "list" ]
- apiGroups: [ "api.console.halo.run" ]
resources: [ "tags" ]
verbs: [ "get", "list" ]