MCPcopy Create free account
hub / github.com/AI45Lab/Code / default_permissions

Method default_permissions

core/src/subagent.rs:201–210  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

199 }
200
201 fn default_permissions(self) -> PermissionPolicy {
202 match self {
203 Self::ReadOnly => explore_permissions(),
204 Self::Planner => plan_permissions(),
205 Self::Implementer => general_permissions(),
206 Self::Verifier => verification_permissions(),
207 Self::Reviewer => review_permissions(),
208 Self::Custom => PermissionPolicy::strict(),
209 }
210 }
211
212 fn default_prompt(self) -> Option<&'static str> {
213 match self {

Callers 2

into_agent_definitionMethod · 0.80

Calls 5

explore_permissionsFunction · 0.85
plan_permissionsFunction · 0.85
general_permissionsFunction · 0.85
verification_permissionsFunction · 0.85
review_permissionsFunction · 0.85

Tested by

no test coverage detected