mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-25 07:41:00 +00:00
fix the api keys for the tasks route
This commit is contained in:
committed by
Clément Renault
parent
ca4234b445
commit
1bef5d119d
@ -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);
|
||||
|
Reference in New Issue
Block a user