app-server: accept permission profile overrides

This commit is contained in:
Michael Bolin
2026-04-16 21:04:42 -07:00
parent afb44ee779
commit 0091f74cf4
44 changed files with 1803 additions and 17 deletions
+7
View File
@@ -274,6 +274,13 @@ impl PermissionProfile {
self.file_system_sandbox_policy()
.to_legacy_sandbox_policy(self.network_sandbox_policy(), cwd)
}
pub fn to_runtime_permissions(&self) -> (FileSystemSandboxPolicy, NetworkSandboxPolicy) {
(
self.file_system_sandbox_policy(),
self.network_sandbox_policy(),
)
}
}
impl From<NetworkSandboxPolicy> for NetworkPermissions {