MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / ci_cd

Method ci_cd

atomic-identity/src/delegation.rs:308–318  ·  view source on GitHub ↗

Create a scope suited to a CI/CD agent: read, record, push, pull.

()

Source from the content-addressed store, hash-verified

306
307 /// Create a scope suited to a CI/CD agent: read, record, push, pull.
308 pub fn ci_cd() -> Self {
309 Self {
310 permissions: vec![
311 DelegationPermission::Read,
312 DelegationPermission::Record,
313 DelegationPermission::Push,
314 DelegationPermission::Pull,
315 ],
316 ..Default::default()
317 }
318 }
319
320 /// Create a builder for custom scopes.
321 pub fn builder() -> DelegationScopeBuilder {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected