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

Method builder

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

Create a builder for custom scopes.

()

Source from the content-addressed store, hash-verified

319
320 /// Create a builder for custom scopes.
321 pub fn builder() -> DelegationScopeBuilder {
322 DelegationScopeBuilder::new()
323 }
324
325 /// Check if this scope has a specific permission.
326 pub fn has_permission(&self, permission: DelegationPermission) -> bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected