FEATURE: Add api scope for search endpoint (#19955)

Adds two new api scopes for the /search endpoints:

- `/search.json?q=term`
- `/search/query.json?term=term`

see: https://meta.discourse.org/t/search-api-key-permissions/227244
This commit is contained in:
Blake Erickson
2023-01-23 14:06:57 -07:00
committed by GitHub
parent ad70a72de9
commit 09f5235538
3 changed files with 14 additions and 0 deletions

View File

@ -428,6 +428,7 @@ RSpec.describe Admin::ApiController do
"global",
"badges",
"categories",
"search",
"wordpress",
)
end