ui: gate community wizard capabilities

This commit is contained in:
a.tolmachev
2026-05-03 17:11:30 +00:00
parent 10433d5193
commit 49c46c0d0b
14 changed files with 221 additions and 225 deletions
+6 -10
View File
@@ -1556,16 +1556,12 @@ impl AdminService {
}
pub async fn list_protocol_capabilities(&self) -> Vec<ProtocolCapabilityView> {
[
Protocol::Rest,
Protocol::Graphql,
Protocol::Grpc,
Protocol::Websocket,
Protocol::Soap,
]
.into_iter()
.map(protocol_capability_view)
.collect()
self.get_capabilities()
.await
.supported_protocols
.into_iter()
.map(protocol_capability_view)
.collect()
}
pub async fn get_capabilities(&self) -> EditionCapabilities {