Remove enterprise leftovers from community
CI / Rust Checks (push) Failing after 2m6s
CI / UI Checks (push) Has been skipped
CI / Frontend E2E (push) Has been skipped
CI / Deployment Manifests (push) Has been skipped
Deploy / deploy (push) Successful in 2m26s

This commit is contained in:
github-ops
2026-06-20 12:04:46 +00:00
parent 5f8c208409
commit 0af60b1693
46 changed files with 46 additions and 7096 deletions
-6
View File
@@ -989,24 +989,18 @@ fn credential_allows_security_level(
fn security_level_rank(level: OperationSecurityLevel) -> u8 {
match level {
OperationSecurityLevel::Standard => 0,
OperationSecurityLevel::Elevated => 1,
OperationSecurityLevel::Strict => 2,
}
}
fn serialize_security_level(level: OperationSecurityLevel) -> &'static str {
match level {
OperationSecurityLevel::Standard => "standard",
OperationSecurityLevel::Elevated => "elevated",
OperationSecurityLevel::Strict => "strict",
}
}
fn serialize_machine_access_mode(mode: crank_core::MachineAccessMode) -> &'static str {
match mode {
crank_core::MachineAccessMode::StaticAgentKey => "static_agent_key",
crank_core::MachineAccessMode::ShortLivedToken => "short_lived_token",
crank_core::MachineAccessMode::OneTimeToken => "one_time_token",
}
}