Delivery and DMARC Troubleshooting (closes #420)

This commit is contained in:
mdecimus
2024-12-03 19:09:15 +01:00
parent f8f33848e4
commit a6f24d23b4
16 changed files with 1165 additions and 50 deletions

View File

@@ -198,6 +198,7 @@ impl Permission {
Permission::OauthClientUpdate => "Modify OAuth clients",
Permission::OauthClientDelete => "Remove OAuth clients",
Permission::AiModelInteract => "Interact with AI models",
Permission::Troubleshoot => "Perform troubleshooting",
}
}
}

View File

@@ -264,7 +264,7 @@ pub enum Permission {
OauthClientOverride,
AiModelInteract,
// WARNING: add new ids at the end (TODO: use static ids)
Troubleshoot, // WARNING: add new ids at the end (TODO: use static ids)
}
pub type Permissions = Bitset<{ Permission::COUNT.div_ceil(std::mem::size_of::<usize>()) }>;