mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 20:37:15 +02:00
fix the api keys for the tasks route
This commit is contained in:
parent
8a39be9d41
commit
950606cd36
3 changed files with 4 additions and 3 deletions
|
@ -99,6 +99,7 @@ impl HeedAuthStore {
|
|||
Action::IndexesDelete,
|
||||
Action::IndexesGet,
|
||||
Action::IndexesUpdate,
|
||||
Action::IndexesSwap,
|
||||
]
|
||||
.iter(),
|
||||
);
|
||||
|
@ -110,7 +111,7 @@ impl HeedAuthStore {
|
|||
actions.insert(Action::DumpsCreate);
|
||||
}
|
||||
Action::TasksAll => {
|
||||
actions.insert(Action::TasksGet);
|
||||
actions.extend([Action::TasksGet, Action::TasksDelete, Action::TasksCancel]);
|
||||
}
|
||||
Action::StatsAll => {
|
||||
actions.insert(Action::StatsGet);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue