fix: tracker counter api does not need authentication for theme (#2517)

#### What type of PR is this?
/kind bug
/area core
/milestone 2.0

#### What this PR does / why we need it:
修复主题端内容页访问量统计接口角色规则动词配置错误问题
#### Which issue(s) this PR fixes:

Fixes #2507

#### Special notes for your reviewer:
/cc @halo-dev/sig-halo 
#### Does this PR introduce a user-facing change?

```release-note
None
```
pull/2521/head
guqing 2022-10-08 17:06:28 +08:00 committed by GitHub
parent b23ed2efcc
commit 9725d63056
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,4 +13,4 @@ rules:
resources: [ "*" ]
verbs: [ "*" ]
- nonResourceURLs: [ "/apis/api.halo.run/v1alpha1/trackers/counter" ]
verbs: [ "post" ]
verbs: [ "create" ]