diff --git a/src/config/acl.rs b/src/config/acl.rs index e02ac5c7..3cf474e2 100644 --- a/src/config/acl.rs +++ b/src/config/acl.rs @@ -142,7 +142,9 @@ pub const ROLE_REMOTE_SYNC_OPERATOR: u64 = 0 /// NoAccess can be used to remove privileges from specific (sub-)paths pub const ROLE_NAME_NO_ACCESS: &str = "NoAccess"; -#[api()] +#[api( + type_text: "", +)] #[repr(u64)] #[derive(Serialize, Deserialize)] /// Enum representing roles via their [PRIVILEGES] combination.