Rename Action::AllRead to AllGet

This commit is contained in:
Mubelotix
2025-06-19 11:55:25 +02:00
parent b6b7ede266
commit 9e1cb792f4
2 changed files with 5 additions and 5 deletions

View File

@ -89,7 +89,7 @@ impl HeedAuthStore {
for action in &key.actions {
match action {
Action::All => actions.extend(enum_iterator::all::<Action>()),
Action::AllRead => actions.extend(enum_iterator::all::<Action>().filter(|a| a.is_read())),
Action::AllGet => actions.extend(enum_iterator::all::<Action>().filter(|a| a.is_read())),
Action::DocumentsAll => {
actions.extend(
[Action::DocumentsGet, Action::DocumentsDelete, Action::DocumentsAdd]