Fix the chat, chats, and chatsSettings actions

This commit is contained in:
Clément Renault 2025-06-03 15:13:42 +02:00
parent 82313a4444
commit c4e1407e77
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
4 changed files with 30 additions and 14 deletions

View file

@ -125,6 +125,13 @@ impl HeedAuthStore {
Action::MetricsAll => {
actions.insert(Action::MetricsGet);
}
Action::ChatsSettingsAll => {
actions.extend([
Action::ChatsSettingsGet,
Action::ChatsSettingsUpdate,
Action::ChatsSettingsDelete,
]);
}
other => {
actions.insert(*other);
}