MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / update_config

Method update_config

crates/openshell-server/src/grpc/mod.rs:507–512  ·  view source on GitHub ↗
(
        &self,
        request: Request<UpdateConfigRequest>,
    )

Source from the content-addressed store, hash-verified

505
506 #[rpc_auth(auth = "dual", scope = "config:write", role = "admin")]
507 async fn update_config(
508 &self,
509 request: Request<UpdateConfigRequest>,
510 ) -> Result<Response<UpdateConfigResponse>, Status> {
511 policy::handle_update_config(&self.state, request).await
512 }
513
514 #[rpc_auth(auth = "bearer", scope = "sandbox:read", role = "user")]
515 async fn get_sandbox_policy_status(

Callers 4

spawn_set_global_settingFunction · 0.45

Calls 1

handle_update_configFunction · 0.85

Tested by

no test coverage detected